Red Hat VEX
RHVEX-CVE-2025-26623
exiv2: Use After Free in Exiv2
Details
A heap overflow vulnerability was found in the Exiv2 library. In affected versions, the issue is triggered when Exiv2 is used to write metadata into a crafted image file. This could allow an attacker to execute code if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| 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 (out of support scope) |
| Red Hat:enterprise_linux:8 | exiv2 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | exiv2-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | exiv2-doc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | exiv2-libs | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2025-26623
- https://bugzilla.redhat.com/show_bug.cgi?id=2346345
- https://www.cve.org/CVERecord?id=CVE-2025-26623
- https://nvd.nist.gov/vuln/detail/CVE-2025-26623
- https://github.com/Exiv2/exiv2/issues/3168
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-38h4-fx85-qcx7