image-size: Loop with Unreachable Exit Condition
CVE-2025-71319 is a high-severity loop with unreachable exit condition vulnerability in image-size, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected image-size versions: 1.1.0 through 1.2.1; 2.0.0 through 2.0.2. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.73% chance of exploitation within 30 days, higher than 55% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Trusted Artifact Signer to 1.4.2 or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Image-size | image-size | 1.1.0 through 1.2.1; 2.0.0 through 2.0.2 | Not stated |
| Red Hat | Red Hat Discovery 2 | Not specified in the record | Not stated |
| Red Hat | Red Hat Trusted Artifact Signer 1.4 | Not specified in the record | Not stated |
| Red Hat | Gatekeeper 3 | Not specified in the record | Not stated |
| Red Hat | Red Hat Build of Podman Desktop | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 7 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat Fuse 7 | Not specified in the record | Not stated |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | Not specified in the record | Not stated |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Not specified in the record | Not stated |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Not specified in the record | Not stated |
| Red Hat | Red Hat OpenShift Dev Spaces | Not specified in the record | Not stated |
| Red Hat | Red Hat Satellite 6 | Not specified in the record | Not stated |
| Red Hat | Discovery | 2.0 | Not stated |
| Red Hat | Gatekeeper | 3.0 | Not stated |
| Red Hat | Trusted Artifact Signer | 1.4 up to, but not including, 1.4.2 | 1.4.2 |
| Red Hat | Enterprise Linux | 8.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CNA (vulncheck.com).
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 8.7 | High | CNA (vulncheck.com) |
| CVSS 3.1 | 7.5 | High | CNA (vulncheck.com) |
| CVSS 3.1 | 7.5 | High | CNA |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Loop with Unreachable Exit Condition
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
More Loop with Unreachable Exit Condition vulnerabilities (CWE-835)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Third-party and government advisories
- vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parserThird Party Advisory
- access.redhat.com/errata/RHSA-2026:33313Third Party Advisory
- access.redhat.com/errata/RHSA-2026:37272Third Party Advisory
- access.redhat.com/security/cve/CVE-2025-71319Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2487296Issue Tracking, Third Party Advisory
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.jsonThird Party Advisory
Technical write-ups (may include proof of concept)
- joshua.hu/image-size-infinite-loop-dos-vulnerabilitiesExploit, Third Party Advisory
Other vulnerabilities in image-size
- 7.5 High severity
- 7.5 High severity
Recent Loop with Unreachable Exit Condition vulnerabilities
- 7.3 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.