
CVE catalog
CVE-2026-58386
gimp: CVE-2026-58386
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
A flaw was found in GIMP's TIM loader. File-controlled width, height, and palette size values are used directly in multiple variable-length array declarations in load_image(), allowing a crafted TIM file to force oversized stack allocations and memory corruption. This could lead to denial of service or arbitrary code execution. gimp: gimp: Stack overflow via VLAs in load_image() A flaw was found in GIMP's TIM loader. The load_image() function uses file-controlled dimensions directly in stack-based variable-length arrays, which can lead to oversized stack allocations and memory corruption when a user opens a specially crafted TIM file. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gimp | sid | 3.2.6-1 | fixed |
| Debian | gimp | forky | 3.2.6-1 | fixed |
| Debian | gimp | trixie | 3.0.4-3+deb13u10 | not affected |
| Debian | gimp | trixie-security | 3.0.4-3+deb13u11 | not affected |
| Debian | gimp | bookworm | 2.10.34-1+deb12u10 | not affected |
| Debian | gimp | bookworm-security | 2.10.34-1+deb12u10 | not affected |
| Ubuntu | gimp | pro | 2.10.34-1 | vulnerable |
| Ubuntu | gimp | pro | 2.10.36-1 | vulnerable |
| Ubuntu | gimp | pro | 2.10.36-2 | vulnerable |
| Ubuntu | gimp | pro | 2.10.36-3build2 | vulnerable |
| Ubuntu | gimp | pro | 2.10.36-3build3 | vulnerable |
| Ubuntu | gimp | pro | 2.10.36-3ubuntu0.24.04.1 | vulnerable |
| Ubuntu | gimp | pro | 2.10.36-3ubuntu0.24.04.1+esm1 | vulnerable |
| Ubuntu | gimp | pro | 2.10.36-3ubuntu0.24.04.1+esm2 | vulnerable |
| Ubuntu | gimp | pro | 2.10.36-3ubuntu0.24.04.1+esm3 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.2-1 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.2-2 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.2-3 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.2-3.1 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.4-1 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.4-2 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.4-3 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.4-5 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.4-6 | vulnerable |
| Ubuntu | gimp | 25.10 | 3.0.4-6.1 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.0.4-6.1 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.0.4-6.2 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.0.6-1 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.0~RC2-2 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.0~RC2-3 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.0~RC2-3.1 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.0~RC2-3.2 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.0~RC2-3.3 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.0~RC3-1 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.0-1 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.2-1 | vulnerable |
| Ubuntu | gimp | 26.04 | 3.2.2-1ubuntu0.26.04.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gimp | source | sid | 3.2.4-1 | not yet assigned | Not reported | Not reported |
| Debian | gimp | source | forky | 3.2.4-1 | not yet assigned | Not reported | Not reported |
| Debian | gimp | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | gimp | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gimp]Affected
Details (4)
2.10.34-1+deb12u10· amd64 · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· arm64 · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· amd64 · bookworm-securityAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· arm64 · bookworm-securityAffected
dsa · gimp · debian · bookworm
- [gimp-data]Affected
Source package: [gimp]
Details (4)
2.10.34-1+deb12u10· all · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· all · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· all · bookworm-securityAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· all · bookworm-securityAffected
dsa · gimp · debian · bookworm
- [libgimp2.0]Affected
Source package: [gimp]
Details (4)
2.10.34-1+deb12u10· amd64 · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· arm64 · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· amd64 · bookworm-securityAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· arm64 · bookworm-securityAffected
dsa · gimp · debian · bookworm
- [libgimp2.0-dev]Affected
Source package: [gimp]
Details (4)
2.10.34-1+deb12u10· amd64 · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· arm64 · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· amd64 · bookworm-securityAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· arm64 · bookworm-securityAffected
dsa · gimp · debian · bookworm
- [libgimp2.0-doc]Affected
Source package: [gimp]
Details (4)
2.10.34-1+deb12u10· all · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· all · bookwormAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· all · bookworm-securityAffected
dsa · gimp · debian · bookworm
2.10.34-1+deb12u10· all · bookworm-securityAffected
dsa · gimp · debian · bookworm
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-58386]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-58386]
- [https://security-tracker.debian.org/tracker/CVE-2026-58386]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-58386.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2219.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]