cve.bz

CVE-2025-71319

8.7 highEPSS 0.7%

High (8.7). EPSS 0.7% chance of exploitation in the next 30 days. Fixed in image-size 1.2.1, 2.0.2.

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.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-11-01)
CWE
CWE-835
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m5qc-5hw7-8vg7npmimage-size>=1.1.0 <1.2.11.2.1
GHSA-m5qc-5hw7-8vg7npmimage-size>=2.0.0 <2.0.22.0.2

References

Check your stackJSON