npm
CVE-2025-71329
image-size: JXL and HEIF parsers allow denial of service through infinite loops
- Severity
- High 7.5
- Published
- 10 Jun 2026
- Last changed
- 24 Sept 2026
- Added to UpHeron
- 10 Nov 2026
- Fixed in
- 2.0.3
- Exploit chance
- 0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Infinite loop (CWE-835)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-5p2g-fcmc-qvqq
- Sources
- OSV.dev and GitHub
Description
image-size through 2.0.2 contains a denial of service vulnerability that allows remote attackers to permanently block the Node.js event loop by supplying a specially crafted image buffer with a zero-valued size field in a recognized box-type. Attackers can trigger an infinite loop in the JXL or HEIF image parsers by providing a crafted image containing a box with a size of zero, causing the offset to never advance and permanently hanging the application.
Affected software
| Software | Affected versions |
|---|---|
image-sizenpm · osv:npm:image-size |
|
About image-size
- Weekly downloads (npm)
- 39,621,585npm, 17 Nov 2026
Vulnerabilities in image-size
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2025-71330image-size: ICNS parser allows denial of service through an infinite loopHigh 7.5 10 Jun 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2025-71329
- GitHub Advisory Database https://github.com/advisories/GHSA-5p2g-fcmc-qvqq