Kimageformats: Stack-use-after-scope in StreamReader_CApi::wait_for_file_size
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=524393006 ``` Crash type: Stack-use-after-scope READ 8 Crash state: StreamReader_CApi::wait_for_file_size Box_iloc::read_data HeifFile::append_data_from_iloc ```
AI Analysis
Technical Summary
The kimageformats library contains a stack-use-after-scope vulnerability in the StreamReader_CApi::wait_for_file_size function, as reported by OSS-Fuzz. The crash involves reading 8 bytes from a stack variable that has gone out of scope, potentially causing memory corruption. The issue appears during the processing of HEIF files, specifically in the Box_iloc::read_data and HeifFile::append_data_from_iloc functions. Affected versions are explicitly identified as 6.28.0, 6.28.0-rc1, 6.28.1, 6.29.0-rc1, and 6.29.0. No CVSS score or vendor advisory is available, and no patch links have been provided.
Potential Impact
This vulnerability could lead to memory corruption due to use-after-scope on the stack, which might cause application crashes or potentially allow an attacker to influence program behavior. However, no known exploits are reported, and the exact impact depends on how the vulnerable code is used in practice.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory or OSS-Fuzz reports for current remediation guidance. Until a fix is available, avoid processing untrusted HEIF files with affected versions of kimageformats or use alternative libraries if possible.
Kimageformats: Stack-use-after-scope in StreamReader_CApi::wait_for_file_size
Description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=524393006 ``` Crash type: Stack-use-after-scope READ 8 Crash state: StreamReader_CApi::wait_for_file_size Box_iloc::read_data HeifFile::append_data_from_iloc ```
Affected software
pkg:generic/kimageformatsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The kimageformats library contains a stack-use-after-scope vulnerability in the StreamReader_CApi::wait_for_file_size function, as reported by OSS-Fuzz. The crash involves reading 8 bytes from a stack variable that has gone out of scope, potentially causing memory corruption. The issue appears during the processing of HEIF files, specifically in the Box_iloc::read_data and HeifFile::append_data_from_iloc functions. Affected versions are explicitly identified as 6.28.0, 6.28.0-rc1, 6.28.1, 6.29.0-rc1, and 6.29.0. No CVSS score or vendor advisory is available, and no patch links have been provided.
Potential Impact
This vulnerability could lead to memory corruption due to use-after-scope on the stack, which might cause application crashes or potentially allow an attacker to influence program behavior. However, no known exploits are reported, and the exact impact depends on how the vulnerable code is used in practice.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory or OSS-Fuzz reports for current remediation guidance. Until a fix is available, avoid processing untrusted HEIF files with affected versions of kimageformats or use alternative libraries if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- OSV-2026-928
- Osv Schema Version
- 1.7.5
- Aliases
- []
- Ecosystems
- ["OSS-Fuzz"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a808b64bf8831d5394f4704
Added to database: 08/15/2026, 15:53:08 UTC
Last enriched: 08/15/2026, 15:54:14 UTC
Last updated: 08/15/2026, 15:54:37 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.