oesa-2026-3097
Vulnerability from osv_openeuler
The GIMP is an image composition and editing program, which can be used for creating logos and other graphics for Web pages. The GIMP offers many tools and filters, and provides a large image manipulation toolbox, including channel operations and layers, effects, subpixel imaging and antialiasing, and conversions, together with multilevel undo. The GIMP offers a scripting facility, but many of the included scripts rely on fonts that we cannot distribute.
Security Fix(es):
A flaw was found in GIMP's Paint Shop Pro (PSP) file format parser. This heap buffer overflow vulnerability allows a remote attacker to cause arbitrary code execution or a denial of service (DoS) by tricking a user into opening a specially crafted PSP image file. The vulnerability occurs because the software incorrectly calculates buffer sizes when processing low bit-depth images, leading to an overwrite of adjacent memory.(CVE-2026-58379)
A flaw was found in GIMP's PNM file format parser. When parsing a specially crafted PNM file, the pnmscanner_gettoken() function writes a null terminator one byte past the end of a stack-allocated buffer due to an off-by-one error in the loop boundary check. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.(CVE-2026-58380)
A flaw was found in GIMP's PSD parser. An integer overflow in read_RLE_channel() can cause an undersized heap allocation for the RLE row-length table, after which subsequent per-row writes corrupt heap memory. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.(CVE-2026-58384)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"gimp-3.0.2-16.oe2403sp3.aarch64.rpm",
"gimp-debuginfo-3.0.2-16.oe2403sp3.aarch64.rpm",
"gimp-debugsource-3.0.2-16.oe2403sp3.aarch64.rpm",
"gimp-devel-3.0.2-16.oe2403sp3.aarch64.rpm",
"gimp-extension-goat-excercises-3.0.2-16.oe2403sp3.aarch64.rpm",
"gimp-libs-3.0.2-16.oe2403sp3.aarch64.rpm",
"gimp-plugin-aa-3.0.2-16.oe2403sp3.aarch64.rpm",
"gimp-plugin-python3-3.0.2-16.oe2403sp3.aarch64.rpm",
"gimp-vala-3.0.2-16.oe2403sp3.aarch64.rpm"
],
"src": [
"gimp-3.0.2-16.oe2403sp3.src.rpm"
],
"x86_64": [
"gimp-3.0.2-16.oe2403sp3.x86_64.rpm",
"gimp-debuginfo-3.0.2-16.oe2403sp3.x86_64.rpm",
"gimp-debugsource-3.0.2-16.oe2403sp3.x86_64.rpm",
"gimp-devel-3.0.2-16.oe2403sp3.x86_64.rpm",
"gimp-extension-goat-excercises-3.0.2-16.oe2403sp3.x86_64.rpm",
"gimp-libs-3.0.2-16.oe2403sp3.x86_64.rpm",
"gimp-plugin-aa-3.0.2-16.oe2403sp3.x86_64.rpm",
"gimp-plugin-python3-3.0.2-16.oe2403sp3.x86_64.rpm",
"gimp-vala-3.0.2-16.oe2403sp3.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS-SP3",
"name": "gimp",
"purl": "pkg:rpm/openEuler/gimp\u0026distro=openEuler-24.03-LTS-SP3"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.2-16.oe2403sp3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "High"
},
"details": "The GIMP is an image composition and editing program, which can be used for creating logos and other graphics for Web pages. The GIMP offers many tools and filters, and provides a large image manipulation toolbox, including channel operations and layers, effects, subpixel imaging and antialiasing, and conversions, together with multilevel undo. The GIMP offers a scripting facility, but many of the included scripts rely on fonts that we cannot distribute.\r\n\r\nSecurity Fix(es):\n\nA flaw was found in GIMP\u0026apos;s Paint Shop Pro (PSP) file format parser. This heap buffer overflow vulnerability allows a remote attacker to cause arbitrary code execution or a denial of service (DoS) by tricking a user into opening a specially crafted PSP image file. The vulnerability occurs because the software incorrectly calculates buffer sizes when processing low bit-depth images, leading to an overwrite of adjacent memory.(CVE-2026-58379)\n\nA flaw was found in GIMP\u0026apos;s PNM file format parser. When parsing a specially crafted PNM file, the pnmscanner_gettoken() function writes a null terminator one byte past the end of a stack-allocated buffer due to an off-by-one error in the loop boundary check. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.(CVE-2026-58380)\n\nA flaw was found in GIMP\u0026apos;s PSD parser. An integer overflow in read_RLE_channel() can cause an undersized heap allocation for the RLE row-length table, after which subsequent per-row writes corrupt heap memory. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.(CVE-2026-58384)",
"id": "OESA-2026-3097",
"modified": "2026-08-06T11:11:59Z",
"published": "2026-07-19T11:11:59Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3097"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58379"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58380"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58384"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "gimp security update",
"upstream": [
"CVE-2026-58379",
"CVE-2026-58380",
"CVE-2026-58384"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.