CVE-2025-71319

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source cna
CVSS v4
8.7
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 · source cna
Exploit chance (EPSS)
0.729%
chance of exploitation in the next 30 days
higher than 54.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2026-06-10

Timeline

  1. 2025-04-02GitHub advisory published (GHSA-m5qc-5hw7-8vg7)433 days before publication
  2. 2026-06-09Published by the CNA19:57 UTC
  3. 2026-06-10CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-m5qc-5hw7-8vg7, affected packages:

PackageVulnerable versionsFixed in
npm image-sizefrom 1.1.0 before 1.2.11.2.1
npm image-sizefrom 2.0.0 before 2.0.22.0.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
image-size image-sizefrom 1.1.0 through 1.2.1no fix listedfrom 2.0.0 through 2.0.2no fix listednot listednot listed
redhat discovery2.0no fix listednot listed
redhat enterprise_linux8.0no fix listednot listed
redhat gatekeeper3.0no fix listednot listed
redhat trusted_artifact_signerfrom 1.4 before 1.4.2fixed in 1.4.21.4.2

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources