Gimp: gimp: memory corruption due to integer overflow in ico file handling
A flaw was found in GIMP. An integer overflow vulnerability exists when processing ICO image files, specifically in the `ico_read_info` and `ico_read_icon` functions. This issue arises because a size calculation for image buffers can wrap around due to a 32-bit integer evaluation, allowing oversized image headers to bypass security checks. A remote attacker could exploit this by providing a specially crafted ICO file, leading to a buffer overflow and memory corruption, which may result in an application level denial of service.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-2272
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:52 UTC · Revision 1
Source evidence
Gimp: gimp: memory corruption due to integer overflow in ico file handling
core-osv · Original sourcePublished 26 Mar 2026, 20:00 UTC
A flaw was found in GIMP. An integer overflow vulnerability exists when processing ICO image files, specifically in the `ico_read_info` and `ico_read_icon` functions. This issue arises because a size calculation for image buffers can wrap around due to a 32-bit integer evaluation, allowing oversized image headers to bypass security checks. A remote attacker could exploit this by providing a specially crafted ICO file, leading to a buffer overflow and memory corruption, which may result in an application level denial of service.
osv:CVE-2026-2272
Complete source record
{
"id": "02463f3e0dcf017e6766770ff7655e15a8fc40bfdd0c0d5cc2cecc5196957e86",
"url": "https://osv.dev/vulnerability/CVE-2026-2272",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Gimp: gimp: memory corruption due to integer overflow in ico file handling",
"summary": "A flaw was found in GIMP. An integer overflow vulnerability exists when processing ICO image files, specifically in the `ico_read_info` and `ico_read_icon` functions. This issue arises because a size calculation for image buffers can wrap around due to a 32-bit integer evaluation, allowing oversized image headers to bypass security checks. A remote attacker could exploit this by providing a specially crafted ICO file, leading to a buffer overflow and memory corruption, which may result in an application level denial of service.",
"evidence": "osv:CVE-2026-2272",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-2272",
"aliases": [
"CVE-2026-2272"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gnome/gimp",
"type": "GIT",
"events": [
{
"introduced": "a77e8fd05d3d08a58650531a3700100f6a3216b7"
},
{
"last_affected": "a77e8fd05d3d08a58650531a3700100f6a3216b7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gimp:gimp:3.0.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.6"
},
{
"last_affected": "3.0.6"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.0.6",
"GIMP_3_0_6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2272.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.gnome.org/gnome/gimp",
"type": "GIT",
"events": [
{
"introduced": "a77e8fd05d3d08a58650531a3700100f6a3216b7"
},
{
"last_affected": "a77e8fd05d3d08a58650531a3700100f6a3216b7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gimp:gimp:3.0.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.6"
},
{
"last_affected": "3.0.6"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.0.6",
"GIMP_3_0_6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2272.json"
}
}
],
"modified": "2026-10-28T02:30:32.827385944Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://access.redhat.com/security/cve/CVE-2026-2272",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2272.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-2272",
"https://bugzilla.redhat.com/show_bug.cgi?id=2438428",
"https://gitlab.gnome.org/GNOME/gimp/-/issues/15617"
],
"provider_metadata": {
"cwe_ids": [
"CWE-190"
],
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2272.json"
}
},
"related_cves": [
{
"value": "CVE-2026-2272",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500106,
"published_at": "2026-03-26T20:00:10.11+00:00"
}