Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify endpoint invoking ExifReader
-
DeliveryCraft image with malicious ICC mluc tag
-
ExploitUpload image via HTTP request
-
InstallParser loops on zero-size record
-
C2Array grows until heap exhausted
-
ExecuteWorker process OOM-killed
-
ImpactService availability degraded
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
|
| Exploitation Conditions | The target application must (1) accept attacker-supplied image bytes - typically via an HTTP upload, fetched URL, or image-processing queue - and (2) invoke a vulnerable ExifReader version (<4.39.0) on those bytes with ICC profile parsing enabled (the default; ExifReader's USE_ICC flag is on by default). No authentication, user interaction, or special platform is required (CVSS PR:N/UI:N/AC:L). Limiting factors that reduce realistic risk: deployments that disable ICC parsing, that strip ICC profiles upstream, that enforce strict per-request memory caps, or that run ExifReader only on internally trusted images will not be practically exploitable. Impact is bounded to availability (VC:N/VI:N/VA:H) - no code execution or data disclosure. |
| Impact | Real-world risk is moderate and primarily an availability concern. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N gives attackers a network-reachable, unauthenticated, low-complexity path, but the impact is restricted to VA:H with VC:N/VI:N - no confidentiality or integrity loss, and no scope change. EPSS data was not supplied; the issue is not on CISA KEV, so there is no confirmed active exploitation. However, publicly available exploit code exists (a gist is referenced and E:P is set in the CVSS vector), and the trigger is a single crafted image, which is trivially deliverable to any service that calls ExifReader on user uploads. Risk is highest for SaaS image-handling services, avatar uploaders, CMS plugins, and serverless functions that run ExifReader synchronously without memory/time limits, where a single request can OOM-kill a worker; risk is lower for offline or sandboxed batch processing with strict resource caps. |
| Exploit ScenarioDerived | An attacker uploads a single JPEG, PNG, or WebP whose embedded ICC profile contains a crafted mluc tag with a large record count and a record size of zero to a public endpoint that calls ExifReader (for example, a profile-picture uploader or an image-CDN ingest pipeline). The Node.js worker enters the mluc parsing loop, appends entries indefinitely, and the V8 heap grows until the process is OOM-killed, taking the request and any concurrent work with it. Because publicly available exploit code exists in the referenced gist, the scenario is reproducible without reverse engineering. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – May 19, 2026
Denial-of-service in ExifReader (npm package mattiasw/ExifReader) before 4.39.0 allows remote attackers to exhaust memory by submitting a crafted image whose ICC profile contains a malformed mluc tag. A specially crafted record count combined with a zero record size causes the parser to loop on the same record while continuously appending entries to an array, driving memory growth until the host process crashes. CVSS 4.0 base score is 7.7 with proof-of-concept exploit maturity (E:P), and publicly available exploit code exists via the referenced gist; no active in-the-wild exploitation is indicated.
Earlier versions of this analysis (1)
Denial of service in the ExifReader JavaScript library (versions before 4.39.0) allows remote unauthenticated attackers to exhaust process memory by supplying a crafted image with a malformed ICC mluc tag. EPSS 'P' (POC) maturity indicates publicly available exploit code exists, though it is not listed in CISA KEV. Any web or server-side application that ingests user-supplied images and parses them with ExifReader is exposed.
RemediationAI
Vendor-released patch: upgrade ExifReader to 4.39.0 or later (npm install exifreader@^4.39.0, then rebuild and redeploy any service that bundles it); the upstream fix is commit c9d88b67e127b2dcc7b46e328df468257fb2dc30 and is summarized in the project changelog as improved robustness against malformed ICC mluc tags. Audit transitive dependencies with npm ls exifreader or an SCA tool to catch indirect inclusions, and consult the Snyk advisory at https://security.snyk.io/vuln/SNYK-JS-EXIFREADER-16689335 for additional mitigation guidance. If immediate upgrade is not feasible, compensating controls include disabling ICC profile parsing in ExifReader options (omit USE_ICC where the API allows it, accepting that ICC metadata will no longer be extracted), enforcing a strict maximum image size and per-request memory or CPU cap on the worker that performs parsing (which limits blast radius but does not prevent the crash), running metadata extraction inside an isolated short-lived worker or container with --max-old-space-size so that OOM kills do not bring down the main application, and stripping ICC profiles upstream with a hardened tool such as ImageMagick or libvips before the bytes ever reach ExifReader.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ExifReader is a widely used JavaScript/Node.js library for extracting EXIF, IPTC, XMP, ICC and other metadata from images, commonly deployed inside web upload pipelines, image processors, and serverless functions. The bug lives in the ICC profile parser, specifically the handling of the multi-localized Unicode string (mluc) tag defined by the ICC.1:2010 specification, which encodes a 32-bit record count and a 32-bit record size followed by per-locale entries. CWE-1284 (Improper Validation of Specified Quantity in Input) applies: the parser trusts the attacker-supplied record count and does not validate that the record size is non-zero, so the read pointer never advances and the same record is appended repeatedly. The upstream fix is commit c9d88b67e127b2dcc7b46e328df468257fb2dc30 (CHANGELOG: 'Improved robustness when parsing ICC profiles with malformed mluc tags') shipped in 4.39.0. Affected CPE is cpe:2.3:a:n/a:exifreader:*:*:*:*:*:*:*:*.
Know when Exifreader gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (snyk) · only source for this CVE.
CVSS VectorVendor: snyk
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
ExifReader, a widely-used npm package for image metadata processing, contains a denial-of-service vulnerability that allows remote attackers to crash applications by submitting specially crafted images. Publicly available exploit code exists, making this vulnerability accessible to threat actors. Any service accepting image uploads and using unpatched versions of ExifReader (before 4.39.0) faces material availability risk.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Exifreader
View allImproper memory allocation control in ExifReader before 4.41.1 allows remote attackers to exhaust heap memory and termin
Decompression bomb (data amplification) in ExifReader npm package before 4.39.0 allows remote unauthenticated attackers
EUVD-2026-30838
GHSA-h64w-w9pr-82m4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB