OSV-2026-928 Stack-use-after-scope in StreamReader_CApi::wait_for_file_size

Not scored Published

A stack-use-after-scope vulnerability in the HEIF library allows attackers to cause crashes or potentially execute code via crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2026-928?

OSV-2026-928 is an use after free vulnerability in kimageformats, published on 17 Jun 2026.

Official 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

Which versions are affected by OSV-2026-928?

1 open source package ship an affected version, including kimageformats.

PackageAffectedFixed in
kimageformats OSS-FuzzAll versionsNone

How do I fix OSV-2026-928?

No fix has been published for OSV-2026-928 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is OSV-2026-928 being exploited?

There is no known exploitation of OSV-2026-928 in the wild and no public exploit code.

Sources

Is OSV-2026-928 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free