Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images
A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-66759
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:29 UTC · Revision 1
Source evidence
Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images
core-osv · Original sourcePublished 27 Jul 2026, 19:12 UTC
A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.
osv:CVE-2026-66759
Complete source record
{
"id": "9bd7f83bbd5124e441bb408462ec3e5c8a328505ab8f0ec17a47de812ded58e7",
"url": "https://osv.dev/vulnerability/CVE-2026-66759",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images",
"summary": "A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.",
"evidence": "osv:CVE-2026-66759",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-66759",
"aliases": [
"CVE-2026-66759"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gnome/gimp",
"type": "GIT",
"events": [
{
"introduced": "6ac8031c9555667e080fef0324fca9f28a02e5ab"
},
{
"last_affected": "6987b3853c10517eb581deeb20572fb5f99a7086"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gimp:gimp:3.0.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.8"
},
{
"last_affected": "3.0.8"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2.4"
},
{
"last_affected": "3.2.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.0.8",
"3.2.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66759.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.gnome.org/gnome/gimp",
"type": "GIT",
"events": [
{
"introduced": "6ac8031c9555667e080fef0324fca9f28a02e5ab"
},
{
"last_affected": "6987b3853c10517eb581deeb20572fb5f99a7086"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gimp:gimp:3.0.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.8"
},
{
"last_affected": "3.0.8"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2.4"
},
{
"last_affected": "3.2.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.0.8",
"3.2.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66759.json"
}
}
],
"modified": "2026-10-28T02:30:30.464748351Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://access.redhat.com/errata/RHSA-2026:50817",
"https://access.redhat.com/security/cve/CVE-2026-66759",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66759.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-66759",
"https://bugzilla.redhat.com/show_bug.cgi?id=2507557",
"https://gitlab.gnome.org/GNOME/gimp/-/issues/16528",
"https://gitlab.gnome.org/GNOME/gimp"
],
"provider_metadata": {
"cwe_ids": [
"CWE-125"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "2:3.0.4-4.el9_8.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "2.99.14"
},
{
"fixed": "*"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66759.json"
}
},
"related_cves": [
{
"value": "CVE-2026-66759",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497375,
"published_at": "2026-07-27T19:12:27.455+00:00"
}