# CVE-2025-71329: image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-10T13:04:30.380Z
- Modified: 2026-11-08T14:00:26.865Z
- Also known as: GHSA-5p2g-fcmc-qvqq
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- image-size image-size: from 1.1.0 up to 1.2.1; from 2.0.0 up to 2.0.2
- image-size (npm): from 1.2.0 before 2.0.3

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities> (exploit, technical-description, third-party-advisory, web)
- <https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439> (issue-tracking, patch, web)
- <https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-71329> (advisory)
- <https://codeberg.org/image-size/image-size/commit/e6e83a5578961de81f6d5834d90fb7430d8f29a5> (web)
- <https://github.com/image-size/image-size> (package)

## Sources

- CVE List: [CVE-2025-71329](https://www.cve.org/CVERecord?id=CVE-2025-71329), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-5p2g-fcmc-qvqq](https://github.com/advisories/GHSA-5p2g-fcmc-qvqq), CC-BY-4.0, modified 2026-09-24
- NVD: [CVE-2025-71329](https://nvd.nist.gov/vuln/detail/CVE-2025-71329), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-71329 · Whole record: https://cve.day/CVE-2025-71329.json · Rebuilt by cve.day 2026-11-25T22:59:12.283Z
