CVE-2025-71329
JSON

8.7high

image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-5p2g-fcmc-qvqq

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.

Affected

Product or packageVersionsReported by
image-size image-sizefrom 1.1.0 up to 1.2.1, from 2.0.0 up to 2.0.2CVE List, NVD
image-size (npm)from 1.2.0 before 2.0.3GitHub Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Classification

CWE-835

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

image-size hasta la versión 2.0.2 contiene una vulnerabilidad de denegación de servicio que permite a atacantes remotos bloquear permanentemente el bucle de eventos de Node.js al proporcionar un búfer de imagen especialmente diseñado con un campo de tamaño con valor cero en un tipo de caja reconocido. Los atacantes pueden desencadenar un bucle infinito en los analizadores de imágenes JXL o HEIF al proporcionar una imagen manipulada que contenga una caja con un tamaño de cero, lo que provoca que el desplazamiento nunca avance y cuelgue permanentemente la aplicación.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71329 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-5p2g-fcmc-qvqq changed 2026-09-24CC-BY-4.0
NVDCVE-2025-71329 changed 2026-10-12Public domain