Intel

AIKIDO-2026-870492

exifreader is vulnerable to Denial of Service (DoS)

CVE-2026-85715Published Jul 20, 2026
July 20, 2026

75

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

ExifReader parses the ISO-BMFF iloc box of HEIC and AVIF files in the getItems() function. When a crafted iloc box sets the extent size fields (offsetSize, lengthSize, baseOffsetSize, indexSize) to zero, the nested extent-parsing loop pushes a new object on every iteration without advancing the buffer offset or capping the count. A small attacker-supplied image can drive allocation of billions of objects, exhausting heap memory and crashing the process with an out-of-memory error. The fix bounds the extent count against the remaining bytes and enforces a hard cap on total extent allocation.

How do I fix this?

Upgrade the exifreader library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you parse HEIC or AVIF images with ExifReader (ISO-BMFF iloc handling).

Package

Versions

4.22.0 - 4.41.0

Fixed in 4.41.1

Background info

exifreader is vulnerable to Denial of Service (DoS) in versions 4.22.0 - 4.41.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea