Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Image-Size | Image-Size | >= 1.1.0, <= 1.2.1 |
| Redhat | Discovery | 2.0 |
| Redhat | Gatekeeper | 3.0 |
| Redhat | Trusted Artifact Signer | >= 1.4, < 1.4.2 |
| Redhat | Enterprise Linux | 8.0 |
Related Weaknesses (CWE)
References
- https://joshua.hu/image-size-infinite-loop-dos-vulnerabilitiesExploitThird Party Advisory
- https://web.archive.org/web/20260224152152/https://github.com/image-size/image-sIssue TrackingPatch
- https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-lThird Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33313Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:37272Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2025-71319Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2487296Issue TrackingThird Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.jsonThird Party Advisory
FAQ
What is CVE-2025-71319?
CVE-2025-71319 is a vulnerability with a CVSS score of 7.5 (HIGH). 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-v...
How severe is CVE-2025-71319?
CVE-2025-71319 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-71319?
Check the references section above for vendor advisories and patch information. Affected products include: Image-Size Image-Size, Redhat Discovery, Redhat Gatekeeper, Redhat Trusted Artifact Signer, Redhat Enterprise Linux.