cve.bz

CVE-2025-71319 Infinite Loop

8.7 highExploit referenceEPSS 0.7%Fix available

High (8.7). EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in image-size 1.2.1, 2.0.2.

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.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th 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-71319 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-71319?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-71319?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-71319 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-m5qc-5hw7-8vg7npmimage-size>=1.1.0 <1.2.11.2.1
GHSA-m5qc-5hw7-8vg7npmimage-size>=2.0.0 <2.0.22.0.2

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important denial of service vulnerability in the `image-size` component, which can be triggered remotely by processing specially crafted JXL, HEIF, or JP2 image files containing zero-sized boxes. This flaw can lead to an application hang due to an infinite loop in the `findBox` function, impacting the availability of services that rely on this image processing library within Red Hat products.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Discovery 2discovery/discovery-ui-rhel9:1782756541Fixed 2026-06-29RHSA-2026:33313
Red Hat Trusted Artifact Signer 1.4rhtas/rekor-search-ui-rhel9:1783327185Fixed 2026-07-09RHSA-2026:37272
Gatekeeper 3gatekeeper/gatekeeper-rhel9Affected
Red Hat Build of Podman Desktoprh-podman-desktop.gitNot affected
Red Hat Enterprise Linux 7subscription-managerNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 8subscription-managerAffected
Red Hat Fuse 7image-sizeNot affected
Red Hat JBoss Enterprise Application Platform 7image-sizeNot affected
Red Hat JBoss Enterprise Application Platform 8image-sizeNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packimage-sizeNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Not affected
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Not affected
Red Hat Satellite 6satellite/iop-vulnerability-frontend-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-71319.

References

Check your stackJSON