image-size < 1.2.1, 2.0.2 - Denial of Service via Infinite Loop in findBox Function
CVE-2025-71319

8.7HIGH

Key Information:

Vendor

Image-size

Vendor
CVE Published:
9 June 2026

What is CVE-2025-71319?

image-size 1.1.0 before 1.2.1 and 2.0.0 before 2.0.2 contain a denial of service vulnerability in the findBox function when processing specially crafted images with zero-sized boxes. Remote attackers can cause application hang by supplying malicious JXL, HEIF, or JP2 image files with box size zero, triggering infinite loops during image validation.

Affected Version(s)

image-size 1.1.0 < 1.2.1

image-size 2.0.0 < 2.0.2

image-size 1.2.1

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

  • Vulnerability published

  • Vulnerability Reserved

Credit

Alessio Della Libera (@dellalibera)
.