Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. exifreader
  4. ›
  5. CVE-2026-85715

CVE-2026-85715: ExifReader: DoS via Crafted HEIC/AVIF iloc Box - Memory Exhaustion

September 17, 2026

ExifReader 4.41.0 is vulnerable to denial of service through a crafted HEIC or AVIF file with a malicious iloc box. When offsetSize, lengthSize, and baseOffsetSize are set to zero in the iloc header, the extent-parsing loop allocates an unbounded number of JavaScript objects - up to itemCount × extentCount (65535 × 65535 = 4.3 billion) - without advancing the buffer offset. A 652-byte file causes 400MB of heap growth; a 6KB file exhausts all system memory and crashes the Node.js process with a JavaScript heap out-of-memory error.

References

  • github.com/advisories/GHSA-pj96-35fp-cfcc
  • github.com/mattiasw/ExifReader/commit/17b901cd192d2c90d7f9f347bd3073b28b482699
  • github.com/mattiasw/ExifReader/releases/tag/v4.41.1
  • github.com/mattiasw/ExifReader/security/advisories/GHSA-pj96-35fp-cfcc
  • nvd.nist.gov/vuln/detail/CVE-2026-85715

Code Behaviors & Features

Detect and mitigate CVE-2026-85715 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.41.1

Fixed versions

  • 4.41.1

Solution

Upgrade to version 4.41.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value
  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

npm/exifreader/CVE-2026-85715.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:07 +0000.