CVE-2026-8814

Published May 19, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
Versions of the package exifreader before 4.39.0 are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) due to decompressing PNG zTXt metadata without enforcing a built-in maximum decompressed output size. When asynchronous parsing is enabled, a crafted PNG file containing a highly compressed zTXt chunk can cause ExifReader to materialize a disproportionately large Comment value in memory.

Analysis

AI-generated

Technical impact

Excessive decompression of PNG zTXt metadata in exifreader allows an attacker to trigger an unbounded allocation of memory. A crafted PNG file containing a highly compressed zTXt chunk can cause the library to materialize a Comment value that is orders of magnitude larger than expected, exhausting host memory and potentially leading to a process crash or unresponsiveness. The flaw is classified as CWE‑409 and primarily impacts application availability.

Affected Systems

All releases of the exifreader NPM package older than version 4.39.0 are affected. No other vendor or product names are listed in the CNA data.

Risk and Exploitability

The CVSS score of 6.9 denotes a high severity availability impact. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. The attack vector is straightforward: an attacker submits a malicious PNG file to any application that uses exifreader with asynchronous parsing enabled. No authentication or privilege escalation is required; any user able to provide the image can trigger the denial‑of‑service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the exifreader library to version 4.39.0 or newer, which limits the decompressed output size.
  • If an upgrade is not immediately feasible, disable asynchronous parsing for untrusted images or process image data in a sandboxed environment to contain potential memory amplification.
  • Implement input validation to reject PNG files containing highly compressed zTXt chunks or enforce a strict maximum size limit before invoking the exifreader library.

Generated by OpenCVE AI on May 19, 2026 at 07:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rr89-w3h9-m66j ExifReader is vulnerable to denial of service via unbounded decompression of image metadata
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mattiasw
Mattiasw exifreader
Vendors & Products Mattiasw
Mattiasw exifreader
Type Values Removed Values Added
Description Versions of the package exifreader before 4.39.0 are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) due to decompressing PNG zTXt metadata without enforcing a built-in maximum decompressed output size. When asynchronous parsing is enabled, a crafted PNG file containing a highly compressed zTXt chunk can cause ExifReader to materialize a disproportionately large Comment value in memory.
Weaknesses CWE-409
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
May 19, 2026, 1:11 PM
Reserved
May 18, 2026, 8:43 AM
Status
Deferred
Published
May 19, 2026, 7:16 AM
Modified
Jul 23, 2026, 8:10 PM