CVE-2026-8813: Exifreader Denial of Service Vulnerability
HIGHCVE-2026-8813 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-1284: Improper Validation of Specified Quantity in Input) affecting Exifreader libraries in the npm ecosystem. The issue involves exifreader is vulnerable to denial of service via crafted icc `mluc` tag. Remediation is available by upgrading affected packages to version 4.39.0.
CVE-2026-8813 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-8813
To remediate this vulnerability, upgrade all affected Exifreader dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install exifreader@4.39.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls exifreader
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-8813, inspect your project dependencies using npm:
npm ls exifreader
Analyze the terminal output to locate any version of Exifreader in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.39.0), your application is affected.
Note: The npm ls exifreader command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1284: Improper Validation of Specified Quantity in Input, where the product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties. In Exifreader, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-8813 Affected Exifreader Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
exifreader
|
npm |
≥ 2.10.0
< 4.39.0
|
4.39.0
|
References
Frequently Asked Questions
What is CVE-2026-8813?
Which Exifreader versions are affected?
What version fixes CVE-2026-8813?
Is exifreader affected?
What is the CVSS score of CVE-2026-8813?
What CWE is associated with CVE-2026-8813?
How can I check npm dependencies for CVE-2026-8813?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h64w-w9pr-82m4",
"modified" : "2026-07-17T16:51:54Z",
"published" : "2026-05-29T17:58:37Z",
"aliases" : [ "CVE-2026-8813" ],
"summary" : "ExifReader is vulnerable to denial of service via crafted ICC `mluc` tag",
"details" : "### Impact\n\nWhen parsing an image with an embedded ICC profile that contains a crafted `multiLocalizedUnicodeType` (`mluc`) tag, ExifReader can be made to allocate memory proportional to attacker-controlled fields in the tag rather than to\nthe actual size of the input. Processing such an image causes excessive memory consumption and can terminate the host process (out-of-memory).\n\nAny application that calls `ExifReader.load()` on untrusted images, for example, user uploads in a web service, is affected. ICC profiles are carried in JPEG, TIFF, PNG, HEIC, AVIF, JPEG XL, and WebP, so the issue is reachable from any of those formats.\n\n### Patches\n\nFixed in `exifreader@4.39.0`. Upgrade with:\n\n npm install exifreader@latest\n\nBower users consume the bundled `dist/` files from this repository, and the same fix is committed there.\n\n### Workarounds\n\nIf upgrading is not immediately possible, configure a [custom build](https://github.com/mattiasw/ExifReader#configure-a-custom-build) that excludes the `icc` module so that ICC parsing (and therefore this code path) is skipped entirely.\n\n### Resources\n\n- Patch: https://github.com/mattiasw/ExifReader/commit/c9d88b67e127b2dcc7b46e328df468257fb2dc30",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "exifreader"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.10.0"
}, {
"fixed" : "4.39.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mattiasw/ExifReader/security/advisories/GHSA-h64w-w9pr-82m4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-8813"
}, {
"type" : "WEB",
"url" : "https://github.com/mattiasw/ExifReader/commit/c9d88b67e127b2dcc7b46e328df468257fb2dc30"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mattiasw/ExifReader"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-EXIFREADER-16689335"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-29T17:58:37Z",
"nvd_published_at" : "2026-05-19T07:16:30Z"
}
}