CVE-2026-27631 in Exiv2
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,...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Exiv2 | Exiv2 | ≤ 0.28.8 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-27631 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-076257-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Published | 2026-03-02 |
| Last modified | 2026-03-05 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-248: CWE-248
Analysis AI-written, not human-reviewed
CVE-2026-27631 affects Exiv2 versions prior to 0.28.8, where an uncaught exception due to integer overflow in the preview component can lead to undefined behavior when using the -pp command line argument.
The vulnerability is triggered by running Exiv2 with the -pp command line argument on a specially crafted image file that causes an integer overflow, potentially leading to a buffer overflow or application crash.
Questions
What is CVE-2026-27631?
CVE-2026-27631 affects Exiv2 versions prior to 0.28.8, where an uncaught exception due to integer overflow in the preview component can lead to undefined behavior when using the -pp command line argument.
What is the CVSS score for CVE-2026-27631?
CVE-2026-27631 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.5%.
Is CVE-2026-27631 actively exploited?
No confirmed active exploitation of CVE-2026-27631 as of 2026-05-30.
How do I remediate CVE-2026-27631?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2026-27631?
CVE-2026-27631 affects Exiv2 Exiv2.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Exiv2","product":"Exiv2","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-03-05.