Infinite loop Affecting exifreader package, versions <4.41.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.61% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-EXIFREADER-20045986
  • published22 Sept 2026
  • disclosed17 Sept 2026
  • creditErick Alex

Introduced: 17 Sep 2026

NewCVE-2026-85715  (opens in a new tab)
CWE-789  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade exifreader to version 4.41.1 or higher.

Overview

exifreader is a Library that parses Exif metadata in images.

Affected versions of this package are vulnerable to Infinite loop via a malformed ISO-BMFF iloc box in HEIC/AVIF files, parsed by parseItemLocationBox in src/image-header-iso-bmff-iloc.js. When the declared extentCount field in an iloc box is set to an arbitrarily large value, the parser allocates memory proportional to that declared count rather than the actual available input, causing excessive memory allocation and crashing the process.

CVSS Base Scores

version 4.0
version 3.1