Red Hat VEX
RHVEX-CVE-2025-71319
image-size: image-size: Denial of Service due to infinite loop when processing specially crafted images.
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | dnf-plugin-subscription-manager | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-cloud-what | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-subscription-manager-rhsm | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-syspurpose | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | rhsm-gtk | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | rhsm-icons | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | subscription-manager | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | subscription-manager-cockpit | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | subscription-manager-initial-setup-addon | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | subscription-manager-migration | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | subscription-manager-plugin-ostree | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | subscription-manager-rhsm-certificates | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2025-71319
- https://bugzilla.redhat.com/show_bug.cgi?id=2487296
- https://www.cve.org/CVERecord?id=CVE-2025-71319
- https://nvd.nist.gov/vuln/detail/CVE-2025-71319
- https://github.com/image-size/image-size/security/advisories/GHSA-m5qc-5hw7-8vg7
- https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-findbox-function