image-size < 1.2.1, 2.0.2 - Denial of Service via Infinite Loop in findBox Function
CVE-2025-71319
8.7HIGH
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
