MediumFix available
gimp — security advisory
A flaw was found in GIMP. A stack buffer overflow vulnerability in the TIM image loader's 4BPP decoding path allows a local user to cause a Denial of Service (DoS). By opening a specially crafted TIM image file, the application crashes due to an unconditional overflow when writing to a variable-length array.
- Products
- gimp
- Affected versions
- 3.0.4-3, 3.0.4-4, 3.0.4-5, 3.0.4-6, 3.0.4-6.1, 3.0.4-6.2, 3.0.6-1, 3.2.0-1, 3.2.0~RC2-1, 3.2.0~RC2-2, 3.2.0~RC2-3, 3.2.0~RC2-3.1, 3.2.0~RC2-3.2, 3.2.0~RC2-3.3, 3.2.0~RC3-1
- Fixed versions
- 3.2.2-1
- CVEs
- CVE-2026-40916
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:46 UTC · Revision 2
Source evidence
A flaw was found in GIMP. A stack buffer overflow vulnerability in the TIM image loader's 4BPP decoding path allows a local user to cause a Denial of Service (DoS). By opening a specially crafted TIM image file, the application crashes due to an unconditional overflow when writing to a variable-length array.
osv:DEBIAN-CVE-2026-40916
gimp
Fixed versions: 3.2.2-1
Complete source record
{
"id": "451b6a1c372964a27da42fd55704b82905f703b62505e7e174ccd3d02ec6fa15",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-40916",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-40916",
"summary": "A flaw was found in GIMP. A stack buffer overflow vulnerability in the TIM image loader's 4BPP decoding path allows a local user to cause a Denial of Service (DoS). By opening a specially crafted TIM image file, the application crashes due to an unconditional overflow when writing to a variable-length array.",
"evidence": "osv:DEBIAN-CVE-2026-40916",
"products": [
{
"name": {
"value": "gimp",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.2-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "3.0.4-3",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.4-4",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.4-5",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.4-6",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.4-6.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.4-6.2",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0~RC2-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0~RC2-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0~RC2-3",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0~RC2-3.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0~RC2-3.2",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0~RC2-3.3",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0~RC3-1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-40916",
"aliases": [
"DEBIAN-CVE-2026-40916"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.2-1"
}
]
}
],
"package": {
"name": "gimp",
"purl": "pkg:deb/debian/gimp?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"3.0.4-3",
"3.0.4-4",
"3.0.4-5",
"3.0.4-6",
"3.0.4-6.1",
"3.0.4-6.2",
"3.0.6-1",
"3.2.0-1",
"3.2.0~RC2-1",
"3.2.0~RC2-2",
"3.2.0~RC2-3",
"3.2.0~RC2-3.1",
"3.2.0~RC2-3.2",
"3.2.0~RC2-3.3",
"3.2.0~RC3-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40916.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T09:47:40.871778446Z",
"provider": "osv",
"upstream": [
"CVE-2026-40916"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-40916"
]
},
"related_cves": [
{
"value": "CVE-2026-40916",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461177,
"published_at": "2026-04-15T20:16:36.9+00:00"
}