Denial of Service Vulnerability in Image-Size for Node.js
CVE-2025-71330

8.7HIGH

Key Information:

Vendor

Image-size

Vendor
CVE Published:
10 June 2026

Badges

๐Ÿ‘พ Exploit Exists

What is CVE-2025-71330?

The image-size package through version 2.0.2 exhibits a denial of service vulnerability that can be exploited by remote attackers. By providing a specially crafted ICNS image buffer, an attacker can trigger an infinite loop in the ICNS parser, effectively blocking the Node.js event loop. This occurs when the crafted buffer includes valid magic bytes and a zero-valued entry length field, preventing the offset from incrementing, leading to a perpetual true condition within the while loop. The result is a complete hang of the application processing the malformed image, demonstrating the critical need for immediate upgrading or patching to mitigate this risk.

Affected Version(s)

image-size 1.1.0 <= 1.2.1

image-size 2.0.0 <= 2.0.2

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Preston Price (@prestonprice57)
.