Skip to content

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

HighCVSS 8.7 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

8 packages: 3 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/image-size(Red Hat jboss_enterprise_application_platform 7) All versions No fix listed No fix yet
redhat/image-size(Red Hat jboss_enterprise_application_platform 8) All versions No fix listed No fix yet
redhat/image-size(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
redhat/image-size(Red Hat jbosseapxp) All versions No fix listed No fix yet
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787121387(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
image-size >= 1.1.0, <= 1.2.1; >= 2.0.0, <= 2.0.2 after 1.2.1, 2.0.2 Fixed
npm image-size >= 1.1.0, <= 1.2.1; >= 2.0.0, <= 2.0.2 after 1.2.1, 2.0.2 Fixed
npm image-size(npm) >= 1.2.0, < 2.0.3; >= 1.2.0, <= 2.0.2 2.0.3 Fixed

Affected products

ProductAffected versionsFixed in
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787121387(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/image-size(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/image-size(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/image-size(Red Hat:jboss_enterprise_application_platform:8) All versions No fix listed
redhat/image-size(Red Hat:jbosseapxp) All versions No fix listed
npm image-size(npm) >= 1.2.0, <= 2.0.2 No fix listed
npm image-size >= 1.1.0, <= 1.2.1 No fix listed
npm image-size >= 2.0.0, <= 2.0.2 No fix listed
image-size >= 1.1.0, <= 1.2.1 No fix listed
image-size >= 2.0.0, <= 2.0.2 No fix listed
npm image-size(npm) >= 1.2.0, < 2.0.3 2.0.3

References