CVE-2025-71319

HIGH

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.5
EPSS 0.0053
EPSS Percentile 40.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-835
Status published
Products (7)
image-size/image-size < 2.0.2
image-size/image-size 1.1.0 - 1.2.1
image-size/image-size 1.2.1
image-size/image-size 2.0.0 - 2.0.2
image-size/image-size 2.0.2
npm/image-size 1.1.0 - 1.2.1npm
npm/image-size 2.0.0 - 2.0.2npm
Published Jun 09, 2026
Tracked Since Jun 10, 2026