Vulnerability library
Security checkSeptember 17, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmexifreader

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the exifreader package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 4.41.0
  • Patched version(s): 4.41.1

References

Could your website be exposed too?

SmartScanner can check your website for ExifReader: DoS via Crafted HEIC/AVIF iloc Box - Memory Exhaustion and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 17, 2026