gimp — security advisory
GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PNM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28273.
- Products
- gimp
- Affected versions
- 2.10.34-1, 2.10.34-1+deb12u1, 2.10.34-1+deb12u2, 2.10.34-1+deb12u3, 2.10.34-1+deb12u4, 2.10.34-1+deb12u5, 3.0.4-3, 3.0.4-3+deb13u1, 3.0.4-3+deb13u2, 3.0.4-3+deb13u3, 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
- Fixed versions
- 2.10.34-1+deb12u6, 3.0.4-3+deb13u4, 3.2.0~RC2-1
- CVEs
- CVE-2025-14422
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:41 UTC · Revision 1
Source evidence
GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PNM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28273.
osv:DEBIAN-CVE-2025-14422
gimp
Fixed versions: 2.10.34-1+deb12u6
gimp
Fixed versions: 3.0.4-3+deb13u4
gimp
Fixed versions: 3.2.0~RC2-1
Complete source record
{
"id": "64c96f6afe0acaa99e52050e3baf1d62bfc704a2dfd50622e2f8e923a6af0bf6",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-14422",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2025-14422",
"summary": "GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PNM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28273.",
"evidence": "osv:DEBIAN-CVE-2025-14422",
"products": [
{
"name": {
"value": "gimp",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.10.34-1+deb12u6",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2.10.34-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.34-1+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.34-1+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.34-1+deb12u3",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.34-1+deb12u4",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.34-1+deb12u5",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "gimp",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.4-3+deb13u4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "3.0.4-3",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.4-3+deb13u1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.4-3+deb13u2",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.4-3+deb13u3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "gimp",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.0~RC2-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "3.0.4-3",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.4-4",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.4-5",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.4-6",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.4-6.1",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.4-6.2",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.6-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2025-14422",
"aliases": [
"DEBIAN-CVE-2025-14422"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.10.34-1+deb12u6"
}
]
}
],
"package": {
"name": "gimp",
"purl": "pkg:deb/debian/gimp?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.10.34-1",
"2.10.34-1+deb12u1",
"2.10.34-1+deb12u2",
"2.10.34-1+deb12u3",
"2.10.34-1+deb12u4",
"2.10.34-1+deb12u5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-14422.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.4-3+deb13u4"
}
]
}
],
"package": {
"name": "gimp",
"purl": "pkg:deb/debian/gimp?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"3.0.4-3",
"3.0.4-3+deb13u1",
"3.0.4-3+deb13u2",
"3.0.4-3+deb13u3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-14422.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.0~RC2-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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-14422.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:50.125724696Z",
"provider": "osv",
"upstream": [
"CVE-2025-14422"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2025-14422"
]
},
"related_cves": [
{
"value": "CVE-2025-14422",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 419200,
"published_at": "2025-12-23T22:15:49.29+00:00"
}