CVE-2025-26623Exiv2
Medium 5.3 No auth needed
Follow: this CVE · Exiv2 · Exiv2 We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Feb 18, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS: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
What happens
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.
What to do
- Apply the vendor's security update for Exiv2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | exiv2 |
≥ 0.28.0 < 0.28.5 |
0.28.5 |
pip install "exiv2>=0.28.5" |
| PyPI | exiv2 |
≥ 0.28.0 < 0.28.5 |
0.28.5 |
pip install "exiv2>=0.28.5" |
Per OSV / GitHub Advisories (GHSA-38h4-fx85-qcx7, PYSEC-2026-1353). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| exiv2 | exiv2 | ≥ 0.28.0 < 0.28.5 |
Official advisories
- Security update for exiv2 · SUSE · openSUSE-SU-2026:20410-1 · Mar 23, 2026 Medium
- Security update for exiv2 · SUSE · SUSE-SU-2026:20923-1 · Mar 23, 2026 Medium
- exiv2-0.28.8-1.1 on GA media · SUSE · openSUSE-SU-2026:10298-1 · Mar 7, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking
- github.com Vendor Advisory