Stack-based buffer overflow in GIMP
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.
Summary
GIMP ILBM File Parsing Stack-based Buffer 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 ILBM files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27793.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat 2 advisories
- RHSA-2025:22417 Released 2025-12-01 · Red Hat rating Importantgimp:2.8 security update
- Red Hat Enterprise Linux AppStream (v. 8) gimp-2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3.aarch64::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3.ppc64le::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3.s390x::gimp:2.8 +47
- RHSA-2025:21968 Released 2025-11-24 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream (v. 9) gimp-2:3.0.4-1.el9_7.1, gimp-libs-2:3.0.4-1.el9_7.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:22417 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:21968 |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2025-10925
- 2026-10-03 Alias added: GHSA-69mp-wcfm-5322
References
Patch 1
Advisory 1
More Gimp vulnerabilities
- TI-2023-23949 Integer overflow in GIMP CVSS 3.0HIGH 7.8
- TI-2026-42270 Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow CVSS 3.1CRITICAL 9.9
- TI-2012-02388 Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in… CVSS 2.0HIGH 7.5
- TI-2023-23948 Heap-based buffer overflow in GIMP CVSS 3.0HIGH 7.8
- TI-2023-23950 GIMP PSP File Parsing Off-By-One Remote Code Execution Vulnerability CVSS 3.0HIGH 7.8
- TI-2026-54560 Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit CVSS 3.1HIGH 7.0
Sources
- CVE-2025-10925 · CVE Program
- CVE-2025-10925 · NVD
- FIRST EPSS
- GHSA-69mp-wcfm-5322 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-10925 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences