ExifReader is vulnerable to denial of service via crafted ICC `mluc` tag
exifreader
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| exifreader npm |
|
|
Original description
This affects versions of the package exifreader before 4.39.0. A crafted image containing an ICC mluc tag can set an attacker-controlled record count together with a zero record size. During parsing, ExifReader repeatedly processes the same record and appends entries to an array without sufficient bounds validation, causing excessive memory growth. In applications that parse attacker-supplied images, this may lead to denial of service through memory exhaustion.
From the CVE record · snyk