exifreader is vulnerable to Denial of Service (DoS)
75
CVE Score
High
Denial of Service (DoS)
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.
Upgrade the exifreader library to the patch version.
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).
4.22.0 - 4.41.0
Fixed in 4.41.1exifreader is vulnerable to Denial of Service (DoS) in versions 4.22.0 - 4.41.0.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.