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.
References
| Link | Resource |
|---|---|
| https://github.com/Exiv2/exiv2/commit/659db316eef745899a778a1e0b760a971d1b69df | Patch |
| https://github.com/Exiv2/exiv2/issues/3513 | Issue Tracking |
| https://github.com/Exiv2/exiv2/pull/3514 | Issue Tracking Patch |
| https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j | Patch Vendor Advisory |
Configurations
History
05 Mar 2026, 12:31
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Exiv2 exiv2
Exiv2 |
|
| CPE | cpe:2.3:a:exiv2:exiv2:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
| References | () https://github.com/Exiv2/exiv2/commit/659db316eef745899a778a1e0b760a971d1b69df - Patch | |
| References | () https://github.com/Exiv2/exiv2/issues/3513 - Issue Tracking | |
| References | () https://github.com/Exiv2/exiv2/pull/3514 - Issue Tracking, Patch | |
| References | () https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j - Patch, Vendor Advisory |
02 Mar 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-02 20:16
Updated : 2026-03-05 12:31
NVD link : CVE-2026-27631
Mitre link : CVE-2026-27631
CVE.ORG link : CVE-2026-27631
JSON object : View
Products Affected
exiv2
- exiv2
CWE
CWE-248
Uncaught Exception
