cve.bz

CVE-2025-71329 image-size image-size: Infinite Loop

8.7 highExploit referenceEPSS 0.4%Fix available

High (8.7) in image-size image-size. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in image-size 2.0.3.

On this page
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.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-06-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-71329 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-71329?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-71329?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-71329 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
image-sizefrom 1.1.0 through 1.2.1
image-sizefrom 2.0.0 through 2.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5p2g-fcmc-qvqqnpmimage-size>=1.2.0 <2.0.32.0.3

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in the image-size npm package. A crafted image buffer with a zero-valued size field in a recognized box-type (JXL or HEIF) can trigger an infinite loop, permanently blocking the Node.js event loop and causing a denial of service.

Red Hat's mitigation

Upgrade to a version of image-size that validates box size fields. As a workaround, validate image inputs before passing them to image-size, rejecting files with zero-length box entries.

ProductPackageStateAdvisory
Red Hat OpenShift AI 3.4rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787121387Fixed 2026-08-27RHSA-2026:60520
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Red Hat Build of Podman Desktoprh-podman-desktop.gitNot affected
Red Hat Discovery 2discovery/discovery-ui-rhel9Not affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Fuse 7image-sizeFix deferred
Red Hat JBoss Enterprise Application Platform 7image-sizeFix deferred
Red Hat JBoss Enterprise Application Platform 8image-sizeFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packimage-sizeFix deferred
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Not affected
Red Hat Satellite 6satellite/iop-vulnerability-frontend-rhel9Not affected
Red Hat Trusted Artifact Signerrhtas/rekor-search-ui-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-71329.

References

Check your stackJSON