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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.
PUBLISHED5.2CWE-125CWE-191
Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow
Problem type
Affected products
Exiv2
exiv2
< 0.28.8 - AFFECTED
References
https://github.com/Exiv2/exiv2/security/advisories/GHSA-3wgv-fg4w-75x7
https://github.com/Exiv2/exiv2/security/advisories/GHSA-3wgv-fg4w-75x7
https://github.com/Exiv2/exiv2/issues/3511
https://github.com/Exiv2/exiv2/issues/3511
https://github.com/Exiv2/exiv2/pull/3512
https://github.com/Exiv2/exiv2/pull/3512
https://github.com/Exiv2/exiv2/commit/eaa9e21aabe06b3f91cfe66686f5ebc3ca3c0ed4
https://github.com/Exiv2/exiv2/commit/eaa9e21aabe06b3f91cfe66686f5ebc3ca3c0ed4
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-27596Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-27596",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"dateUpdated": "2026-03-02T20:25:31.790Z",
"dateReserved": "2026-02-20T19:43:14.601Z",
"datePublished": "2026-03-02T19:40:48.559Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-03-02T19:40:48.559Z"
},
"title": "Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow",
"descriptions": [
{
"lang": "en",
"value": "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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8."
}
],
"affected": [
{
"vendor": "Exiv2",
"product": "exiv2",
"versions": [
{
"version": "< 0.28.8",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-125: Out-of-bounds Read",
"cweId": "CWE-125",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"lang": "en",
"description": "CWE-191: Integer Underflow (Wrap or Wraparound)",
"cweId": "CWE-191",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/Exiv2/exiv2/security/advisories/GHSA-3wgv-fg4w-75x7",
"name": "https://github.com/Exiv2/exiv2/security/advisories/GHSA-3wgv-fg4w-75x7",
"tags": [
"x_refsource_CONFIRM"
]
},
{
"url": "https://github.com/Exiv2/exiv2/issues/3511",
"name": "https://github.com/Exiv2/exiv2/issues/3511",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/Exiv2/exiv2/pull/3512",
"name": "https://github.com/Exiv2/exiv2/pull/3512",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/Exiv2/exiv2/commit/eaa9e21aabe06b3f91cfe66686f5ebc3ca3c0ed4",
"name": "https://github.com/Exiv2/exiv2/commit/eaa9e21aabe06b3f91cfe66686f5ebc3ca3c0ed4",
"tags": [
"x_refsource_MISC"
]
}
],
"metrics": [
{}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-03-02T20:25:31.790Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}