CVE-2025-26623 Details
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.
A heap buffer overflow vulnerability has been identified in Exiv2 versions 0.28.0 through 0.28.4. This vulnerability is not present in versions prior to 0.28.0, such as 0.27.7. The issue arises in the Tiff component when Exiv2 is used to write metadata into a specially crafted image file. While the vulnerability could potentially be exploited to execute arbitrary code, this would require convincing a user to process the manipulated image with Exiv2. It's important to note that the flaw is activated during the writing of metadata, a less common operation compared to reading. In the Exiv2 command-line application, the vulnerability can be triggered by adding an argument like 'fixiso' when processing an image.
Users are advised to upgrade to Exiv2 version 0.28.5, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Exiv2/exiv2/issues/3168 | [email protected] | ExploitIssue Tracking |
| https://github.com/Exiv2/exiv2/security/advisories/GHSA-38h4-fx85-qcx7 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| exiv2 exiv2 | >= 0.28.0, < 0.28.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 2, 2025 | Initial Analysis | [email protected] |
| Feb 18, 2025 | New CVE Received | [email protected] |