CVE-2025-71319: Image-Size

High severity, CVSS 7.5. EPSS: 0.7% chance of exploitation in the next 30 days.

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 products

  • Image-Size Image-Size: from 1.1.0, up to and including 1.2.1; from 2.0.0, up to and including 2.0.2
  • Red Hat Discovery: version 2.0 only
  • Red Hat Enterprise Linux: version 8.0 only
  • Red Hat Gatekeeper: version 3.0 only
  • Red Hat Trusted Artifact Signer: from 1.4, before 1.4.2 (fixed in 1.4.2)

Published 2026-06-09. Last modified 2026-07-24.