GHSA-3243-948x-x627: Memory exhaustion when parsing a crafted `iloc` box

Published Nov 4, 2026
·
Updated

heifer-isobmff read the item and extent counts of the iloc box (item locations) from the file and allocated memory for them before checking that the box was large enough to hold that many entries. Extents that declare no field at all take zero bytes each, so a small crafted file could declare an enormous number of them. A 42 KB file made parsing allocate several gigabytes, which can exhaust memory and abort the process.

Any application that parses untrusted HEIF/HEIC files with heifer-isobmff, directly or through the heifer crate, is affected: HeifFile::parse and every decoding and metadata function built on it.

The flaw was corrected in 0.3.27 (commit 1a8426e): item and extent counts are bounded by the size of the box, extents that carry no field are rejected, and the total number of extents is capped.

Affected Software

1 affected componentFixes available
rust/heifer-isobmff>=0.0.0-0<0.3.27
0.3.27

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/heifer-isobmff to a version that resolves this vulnerability.

    Fixed in 0.3.27

Event History

Nov 4, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203