Live threats

All CVEs / Image-size

CVE-2025-71329Image-size

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Jun 10, 2026
Updated
Oct 12, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-835
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Image-size.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm image-size ≥ 1.2.0 < 2.0.3 2.0.3 npm install image-size@2.0.3

Per OSV / GitHub Advisories (GHSA-5p2g-fcmc-qvqq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
image-sizeimage-size≥ 1.1.0 ≤ 1.2.1
image-sizeimage-size≥ 2.0.0 ≤ 2.0.2

Official sources

References

Links published by the sources. Open them with care.