CVE-2025-71330

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 ICNS image buffer. Attackers can craft an ICNS buffer containing valid magic bytes and a zero-valued entry length field to trigger an infinite loop in the ICNS parser, as the offset is never incremented when the entry length field is 0, causing the while loop condition to remain true indefinitely.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:image-size:image-size:*:*:*:*:*:*:*:*
cpe:2.3:a:image-size:image-size:*:*:*:*:*:*:*:*

History

05 Oct 2026, 16:10

Type Values Removed Values Added
Summary
  • (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 buffer de imagen ICNS especialmente diseñado. Los atacantes pueden diseñar un buffer ICNS que contenga bytes mágicos válidos y un campo de longitud de entrada con valor cero para desencadenar un bucle infinito en el analizador ICNS, ya que el desplazamiento nunca se incrementa cuando el campo de longitud de entrada es 0, lo que hace que la condición del bucle while permanezca verdadera indefinidamente.

Information

Published : 2026-06-10 14:16

Updated : 2026-10-12 22:10


NVD link : CVE-2025-71330

Mitre link : CVE-2025-71330

CVE.ORG link : CVE-2025-71330


JSON object : View

Products Affected

image-size

  • image-size
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')