Red Hat VEX
RHVEX-CVE-2025-55304
exiv2: Exiv2 has quadratic performance in ICC profile parsing
Details
A denial of service flaw was found in exiv2. A quadratic algorithm in the ICC profile parsing code in the jpegBase::readMetadata() function can cause Exiv2 to run for a long time. When Exiv2 is used to read the metadata of a crafted jpg image file, it triggers a denial of service.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | exiv2 | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | exiv2-devel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | exiv2-doc | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | exiv2-libs | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:6 | exiv2 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | exiv2-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | exiv2-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | compat-exiv2-023 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | compat-exiv2-026 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | exiv2 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | exiv2-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | exiv2-doc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | exiv2-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | compat-exiv2-026 | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | exiv2 | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | exiv2-devel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | exiv2-doc | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | exiv2-libs | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | exiv2 | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | exiv2-devel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | exiv2-doc | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | exiv2-libs | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2025-55304
- https://bugzilla.redhat.com/show_bug.cgi?id=2391806
- https://www.cve.org/CVERecord?id=CVE-2025-55304
- https://nvd.nist.gov/vuln/detail/CVE-2025-55304
- https://github.com/Exiv2/exiv2/issues/3333
- https://github.com/Exiv2/exiv2/pull/3335
- https://github.com/Exiv2/exiv2/pull/3345
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g