CVE-2025-26623: exiv2 Use After Free
Vulnerability summary
CVE-2025-26623 is a critical (CVSS 9.8) Use After Free vulnerability in exiv2. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 59.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 18-02-2025PublishedVulnerability first disclosed.
- 19-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 6 sources · 2 versions- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- NVDNIST5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · Red hatEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.92%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
0.00 pp
From 0.92% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExiv2
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Redhat7 products
- exiv2< 0:0.28.3-3.el10_0.2
- exiv2-debuginfo< 0:0.28.3-3.el10_0.2
- exiv2-debugsource< 0:0.28.3-3.el10_0.2
- exiv2-devel< 0:0.28.3-3.el10_0.2
- exiv2-doc< 0:0.28.3-3.el10_0.2
Debian1 product
- exiv2< 0.28.4+dfsg-2
Exiv21 product
- exiv2≥ 0.28.0, < 0.28.5
PyPI1 product
- exiv2≥ 0.28.0, < 0.28.5
Ubuntu1 product
- exiv2< 0.28.4+dfsg-2
5 vendors · 11 products
References
16 links- github.com/Exiv2/exiv2/security/advisories/GHSA-38h4-fx85-qcx7X Refsource CONFIRMWEBARTICLEREPORTVendor Advisory
- github.com/Exiv2/exiv2PACKAGE
- pypi.org/project/exiv2PACKAGE