Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-27596
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 19:09 UTC · Revision 1
Source evidence
Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow
core-osv · Original sourcePublished 2 Mar 2026, 19:40 UTC
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.
osv:CVE-2026-27596
Complete source record
{
"id": "c2b23d72c38b0f3fa333339dd83e0ac630e2410da1dae8d9c0efc5ba4429f640",
"url": "https://osv.dev/vulnerability/CVE-2026-27596",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow",
"summary": "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.",
"evidence": "osv:CVE-2026-27596",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-27596",
"aliases": [
"CVE-2026-27596",
"GHSA-3wgv-fg4w-75x7"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/exiv2/exiv2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2cd987a731236037b6b78cbff897d08685a8ef49"
},
{
"fixed": "eaa9e21aabe06b3f91cfe66686f5ebc3ca3c0ed4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:exiv2:exiv2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.28.8"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "eaa9e21aabe06b3f91cfe66686f5ebc3ca3c0ed4"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.28.7",
"nightly",
"v0.28.6",
"v0.28.5",
"v0.28.4",
"v0.28.3",
"v0.28.2",
"nightly-0.28.x",
"v0.28.1",
"v0.28.0",
"testIPO_exiv2-xmp-OBJECT",
"testIPO_3",
"testIPO_2",
"testIPO",
"testNoConanCache",
"v0.27.4-RC2",
"v0.27.4-RC1",
"v0.27.3",
"v0.27.3-RC2",
"v0.27.3-RC1",
"v0.27.2",
"v0.27.2-RC3",
"v0.27.2-RC2",
"v0.27.2-RC1",
"0.27-RC2",
"v0.27.1",
"0.27.1",
"v0.27.1-RC1",
"v0.27.0",
"0.27",
"0.27-RC3",
"v0.27-RC1",
"v0.26",
"v0.25",
"v0.24",
"v0.23.1",
"v0.23",
"v0.22",
"v0.21.1",
"v0.21",
"v0.20",
"v0.19",
"v0.18.2",
"v0.18.1",
"v0.18",
"v0.18-pre2",
"v0.18-pre1",
"v0.17.1",
"v0.17",
"v0.16",
"v0.16-pre1",
"v0.15",
"v0.14",
"v0.13",
"v0.12",
"v0.11",
"v0.10",
"v0.9.1",
"v0.9",
"v0.8",
"v0.7",
"v0.6.2",
"v0.6.1",
"v0.6",
"v0.5",
"v0.4",
"v0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27596.json"
}
}
],
"modified": "2026-10-28T02:30:51.516064396Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27596.json",
"https://github.com/Exiv2/exiv2/security/advisories/GHSA-3wgv-fg4w-75x7",
"https://nvd.nist.gov/vuln/detail/CVE-2026-27596",
"https://github.com/Exiv2/exiv2/issues/3511",
"https://github.com/Exiv2/exiv2/commit/eaa9e21aabe06b3f91cfe66686f5ebc3ca3c0ed4",
"https://github.com/Exiv2/exiv2/pull/3512"
],
"provider_metadata": {
"cwe_ids": [
"CWE-125",
"CWE-191"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27596.json"
}
},
"related_cves": [
{
"value": "CVE-2026-27596",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520188,
"published_at": "2026-03-02T19:40:48.559+00:00"
}