cve.bz

CVE-2025-26623 exiv2 exiv2: Use After Free

5.3 mediumExploit referenceEPSS 0.9%Fix available

Medium (5.3) in exiv2 exiv2. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in exiv2 0.28.5.

On this page
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.

Severity

CVSS 4.0

5.3 medium
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-02-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-26623 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-26623?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-26623?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-26623 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exiv2:exiv2from 0.28.0 before 0.28.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-38h4-fx85-qcx7PyPIexiv2>=0.28.0 <0.28.50.28.5
PYSEC-2026-1353PyPIexiv2>=0.28.0 <0.28.50.28.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14exiv20.28.4+dfsg-2DEBIAN-CVE-2025-26623
Red Hatenterprise_linux:10.0exiv2, exiv2-doc, exiv2-libs and 4 more0:0.28.3-3.el10_0.2RHSA-2025:7457
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0exiv20.28.8-160000.1.1SUSE-SU-2026:20923-1
openSUSELeap 16.0exiv20.28.8-160000.1.1openSUSE-SU-2026:20410-1
openSUSETumbleweedexiv20.28.8-1.1openSUSE-SU-2026:10298-1
AlmaLinux10exiv2, exiv2-doc, exiv2-libs and 1 more0.28.3-3.el10_0.2ALSA-2025:7457
Rocky Linux10exiv20:0.28.3-3.el10_0.2RLSA-2025:7457
Alpinev3.22, v3.23, v3.24exiv20.28.5-r0ALPINE-CVE-2025-26623
Azure Linux2exiv2no fix listedAZL-56946
Azure Linux3exiv2no fix listedAZL-57071

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10exiv2-0:0.28.3-3.el10_0.2Fixed 2025-05-13RHSA-2025:7457
Red Hat Enterprise Linux 6exiv2Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-023Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-026Out of support scope
Red Hat Enterprise Linux 7exiv2Out of support scope
Red Hat Enterprise Linux 8compat-exiv2-026Out of support scope
Red Hat Enterprise Linux 8exiv2Out of support scope
Red Hat Enterprise Linux 9exiv2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-26623.

References

Check your stackJSON