Vulnerability in Exiv2
CVE-2026-27631
Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. Prior to version 0.28.8, an uncaught exception was found in Exiv2. The vulnerability is in the preview component, which is only triggered when running Exiv2 with an extra command line argument, like -pp. Due to an integer overflow, the code attempts to create a huge std::vector, which causes Exiv2 to crash with an uncaught exception. This issue has been patched in version 0.28.8.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (32.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 32nd percentile — 32.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Exiv2 — versions < 0.28.8
Weakness classification (CWE)
References
- github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j (Patch, Vendor Advisory)
- github.com/Exiv2/exiv2/issues/3513 (Issue Tracking)
- github.com/Exiv2/exiv2/pull/3514 (Patch, Issue Tracking)
- github.com/Exiv2/exiv2/commit/659db316eef745899a778a1e0b760a971d1b69df (Patch)
Frequently asked questions
- What is CVE-2026-27631?
- CVE-2026-27631 is a medium-severity vulnerability in Exiv2, classified under CWE-248. CVSS score: 5.3/10. Published 2026-03-02.
- How severe is CVE-2026-27631?
- Medium severity. CVSS v3 base score is 5.3 out of 10.