# CVE-2026-134166: probe-image-size before 7.5.0 Memory Exhaustion via WebP EXIF Chunk Length

Source: https://aplosec.si/cve/CVE-2026-134166/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-134166

Medium 6.9 · Reported · Fixed in 7.5.0 · CWE-770 · npm

# probe-image-size before 7.5.0 Memory Exhaustion via WebP EXIF Chunk Length

CVE-2026-134166 · published 2026-11-20

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

## Summary

CVE-2026-134166 affects probe-image-size (npm) < 7.5.0: an attacker-declared WebP EXIF chunk length makes parseExif buffer an unbounded amount of memory (CWE-770). Fixed in 7.5.0. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-11-20 by VulnCheck. Credit: Zachariah Mithani (AploSec).

probe-image-size before 7.5.0 contains an unbounded memory buffering vulnerability in parseExif in lib/parse_stream/webp.js that allows remote attackers to exhaust memory via an attacker-declared EXIF chunk length. Attackers can supply a WebP stream or URL to probe(url) or probe(stream) declaring a huge EXIF length after VP8X, causing unbounded buffering and process memory exhaustion.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade probe-image-size to 7.5.0 or later. Releases in the affected range (< 7.5.0) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-20 CVE published

## References

- [Referencehttps://github.com/nodeca/probe-image-size/security/advisories/GHSA-5v8x-rm7w-m4c7](https://github.com/nodeca/probe-image-size/security/advisories/GHSA-5v8x-rm7w-m4c7)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/probe-image-size-before-7.5.0-memory-exhaustion-via-webp-exif-chunk-length](https://www.vulncheck.com/advisories/probe-image-size-before-7.5.0-memory-exhaustion-via-webp-exif-chunk-length)

- [Fix commithttps://github.com/nodeca/probe-image-size/commit/d91678eaff2aad93f7b05bc5212b75856164ec7a](https://github.com/nodeca/probe-image-size/commit/d91678eaff2aad93f7b05bc5212b75856164ec7a)

- [Vulnerable codehttps://github.com/nodeca/probe-image-size/blob/64565c3c8b4b69655426cdfce250e6a93455c9da/lib/parse_stream/webp.js#L91-L92](https://github.com/nodeca/probe-image-size/blob/64565c3c8b4b69655426cdfce250e6a93455c9da/lib/parse_stream/webp.js#L91-L92)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134166](https://www.cve.org/CVERecord?id=CVE-2026-134166)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134166](https://nvd.nist.gov/vuln/detail/CVE-2026-134166)

**Severity:** Medium 6.9 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-134166)

**Package:** probe-image-size

**Ecosystem:** npm

**Affected:** < 7.5.0

**Fixed:** 7.5.0

**Weakness:** CWE-770

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
