CVE-2025-71319
published high CVSS 4.0 · 8.7image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| image-size | — | image-size1.1.0 through 1.2.1 · 2.0.0 through 2.0.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Red Hat | — | discovery/discovery-ui-rhel9Red Hat Discovery 2 · 1782756541 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhtas/rekor-search-ui-rhel9Red Hat Trusted Artifact Signer 1.4 · 1783327185 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | gatekeeper/gatekeeper-rhel9Gatekeeper 3 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rh-podman-desktop.gitRed Hat Build of Podman Desktop | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 7 | subscription-manager | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 8 | grafana | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 8 | grafana-pcp | Unaffected | Not required | redhat-SADP |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | subscription-manager | Affected | Not stated | redhat-SADP |
| Red Hat | — | image-sizeRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | image-sizeRed Hat JBoss Enterprise Application Platform 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | image-sizeRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | image-sizeRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | devspaces/code-rhel9Red Hat OpenShift Dev Spaces | Unaffected | Not required | redhat-SADP |
| Red Hat | — | satellite/iop-vulnerability-frontend-rhel9Red Hat Satellite 6 | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in image-size. This vulnerability allows a remote attacker to cause a Denial of Service (DoS) by supplying specially crafted JXL, HEIF, or JP2 image files that contain zero-sized boxes. The `findBox` function, responsible for image validation, enters an infinite loop when processing these malicious files, leading to an application hang. This can disrupt the availability of services relying on the image-size component.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| image-size | image-size | 1.1.0 through 1.2.1 (affected · semver)2.0.0 through 2.0.2 (affected · semver)Default: unaffected | VulnCheck · cna |
| Red Hat | Red Hat Discovery 2 | 1782756541 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Trusted Artifact Signer 1.4 | 1783327185 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Gatekeeper 3 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Dev Spaces | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Satellite 6 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
8- https://access.redhat.com/errata/RHSA-2026:33313
- https://access.redhat.com/errata/RHSA-2026:37272
- https://access.redhat.com/security/cve/CVE-2025-71319
- RHBZ#2487296 https://bugzilla.redhat.com/show_bug.cgi?id=2487296
- https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.json
- https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439
- https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser
Provider assertions
3VulnCheck · cna
image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser
redhat-SADP · adp
image-size: image-size: Denial of Service due to infinite loop when processing specially crafted images.
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dcca42ba6c9415f7b2d10d3ff33f4c57d7c0503ca13aea9505589eb087ad5a41
- Ingested
- 08 Nov 2026, 14:03:33 UTC
- Source record
- Official CVE record