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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:60520 patch vendor-advisory
- Red Hat Bugzilla 2487540 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- joshua.hu exploit technical-description third-party-advisory
- web.archive.org issue-tracking patch
- www.vulncheck.com third-party-advisory
- codeberg.org
- github.com
- github.com product
- ENISA EUVD EUVD-2025-210106 third-party-advisory