CVE-2026-85715
published high CVSS 3.1 · 7.5ExifReader: DoS via Crafted HEIC/AVIF iloc Box - Memory Exhaustion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mattiasw | — | ExifReader< 4.41.1 | Affected | Not stated | GitHub_M |
Description
ExifReader is a JavaScript Exif information parser. Prior to 4.41.1, ExifReader parses attacker-controlled HEIC or AVIF ISO-BMFF files in getItems() within src/image-header-iso-bmff-iloc.js and trusts iloc itemCount and extentCount values while allocating an extent object for every nested-loop iteration. When offsetSize, lengthSize, baseOffsetSize, and indexSize are zero, the extent fields consume no input bytes and the buffer offset does not advance, but the parser can still allocate up to itemCount multiplied by extentCount objects without an allocation budget. A small malicious iloc box can therefore cause hundreds of megabytes of heap growth or exhaust system memory, terminating a Node.js process and denying service to web, desktop, or mobile applications that parse untrusted images. The zero field widths are valid ISO-BMFF values indicating absent fields, so the vulnerable parser must bound work rather than relying on offset advancement. The issue is fixed in version 4.41.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mattiasw | ExifReader | < 4.41.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
References
3Provider assertions
2GitHub_M · cna
ExifReader: DoS via Crafted HEIC/AVIF iloc Box - Memory Exhaustion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 084842e030e2600eef030cf53d8036ed6c6c7be3b9f9d09b22cbbf32c33514eb
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record