CVE-2025-26623
exiv2: Use After Free in Exiv2
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según GHSA (media), Red Hat (media), Amazon (media), Oracle (media), Rocky Linux (media), Ubuntu (media).
Descripción
Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A heap buffer overflow was found in Exiv2 versions v0.28.0 to v0.28.4. Versions prior to v0.28.0, such as v0.27.7, are **not** affected. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, 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. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `fixiso`. The bug is fixed in version v0.28.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| alpine 3.22 | exiv2 | 0.28.5-r0 |
| alpine 3.23 | exiv2 | 0.28.5-r0 |
| alpine 3.24 | exiv2 | 0.28.5-r0 |
| alpine edge | exiv2 | 0.28.5-r0 |
| amazon linux 2023 | exiv2, exiv2-debuginfo, exiv2-debugsource y 4 más | 0.28.5-128.amzn2023 |
| debian 13 | exiv2 | 0.28.4+dfsg-2 |
| debian 14 | exiv2 | 0.28.4+dfsg-2 |
| pip::GitHub Security Advisory pip | exiv2 | 0.28.5 |
| rapidfort amazon linux 2023 | exiv2, exiv2-devel, exiv2-doc y 1 más | 0.28.5-128.amzn2023 |
| rapidfort debian 12 | exiv2 | 0:0.28.4+dfsg-2 |
| rapidfort debian 13 | exiv2 | 0:0.28.4+dfsg-2 |
| rapidfort Oracle Linux 10 | exiv2, exiv2-libs | 0:0.28.3-3.el10_0.2 |
Mostrar las 31 entradas de 15 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| alpine 3.22 | exiv2 | 0.28.5-r0 |
| alpine 3.23 | exiv2 | 0.28.5-r0 |
| alpine 3.24 | exiv2 | 0.28.5-r0 |
| alpine edge | exiv2 | 0.28.5-r0 |
| amazon linux 2023 | exiv2 | 0.28.5-128.amzn2023 |
| amazon linux 2023 | exiv2-debuginfo | 0.28.5-128.amzn2023 |
| amazon linux 2023 | exiv2-debugsource | 0.28.5-128.amzn2023 |
| amazon linux 2023 | exiv2-devel | 0.28.5-128.amzn2023 |
| amazon linux 2023 | exiv2-doc | 0.28.5-128.amzn2023 |
| amazon linux 2023 | exiv2-libs | 0.28.5-128.amzn2023 |
| amazon linux 2023 | exiv2-libs-debuginfo | 0.28.5-128.amzn2023 |
| debian 13 | exiv2 | 0.28.4+dfsg-2 |
| debian 14 | exiv2 | 0.28.4+dfsg-2 |
| pip::GitHub Security Advisory pip | exiv2 | 0.28.5 |
| rapidfort amazon linux 2023 | exiv2 | 0.28.5-128.amzn2023 |
| rapidfort amazon linux 2023 | exiv2-devel | 0.28.5-128.amzn2023 |
| rapidfort amazon linux 2023 | exiv2-doc | 0.28.5-128.amzn2023 |
| rapidfort amazon linux 2023 | exiv2-libs | 0.28.5-128.amzn2023 |
| rapidfort debian 12 | exiv2 | 0:0.28.4+dfsg-2 |
| rapidfort debian 13 | exiv2 | 0:0.28.4+dfsg-2 |
| rapidfort Oracle Linux 10 | exiv2 | 0:0.28.3-3.el10_0.2 |
| rapidfort Oracle Linux 10 | exiv2-libs | 0:0.28.3-3.el10_0.2 |
| Red Hat | compat-exiv2-023 | sin corrección indicada |
| Red Hat | compat-exiv2-026 | sin corrección indicada |
| Red Hat | exiv2 | sin corrección indicada |
| Red Hat | exiv2-devel | sin corrección indicada |
| Red Hat | exiv2-doc | sin corrección indicada |
| Red Hat | exiv2-libs | sin corrección indicada |
| rocky 10 | exiv2 | 0.28.3-3.el10_0.2 |
| rocky 10 | exiv2-libs | 0.28.3-3.el10_0.2 |
| ubuntu 25.04 | exiv2 | 0.28.4+dfsg-2 |
Referencias
- https://access.redhat.com/errata/RHSA-2025:7457
- https://access.redhat.com/security/cve/CVE-2025-26623
- https://bugzilla.redhat.com/show_bug.cgi?id=2346345
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-26623
- https://errata.rockylinux.org/RLSA-2025:7457
- https://github.com/Exiv2/exiv2
- https://github.com/Exiv2/exiv2/issues/3168
Las 15 referencias
- https://github.com/Exiv2/exiv2/pull/3174
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-38h4-fx85-qcx7
- https://github.com/jim-easterbrook/python-exiv2/commit/4cc875e392f9e0bc705fe03d929b9a382b78dae4
- https://linux.oracle.com/cve/CVE-2025-26623.html
- https://linux.oracle.com/errata/ELSA-2025-7457.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-26623
- https://www.cve.org/CVERecord?id=CVE-2025-26623