Multiple stack-based buffer overflows in file-xwd.c in the X Window Dump (XWD) plug-in in…
Priority MEDIUM 43CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
Multiple stack-based buffer overflows in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.8.2 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large (1) red, (2) green, or (3) blue color mask in an XWD file.
Why it matters now
EPSS 0.06813 94th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2013:1778 Released 2013-12-03 · Red Hat rating Moderategimp security update
- Red Hat Enterprise Linux (v. 5 server) gimp-2:2.2.13-3.el5_10, gimp-2:2.2.13-3.el5_10.i386, gimp-2:2.2.13-3.el5_10.ia64 +9
- Red Hat Enterprise Linux Desktop (v. 5 client) gimp-2:2.2.13-3.el5_10, gimp-2:2.2.13-3.el5_10.i386, gimp-libs-2:2.2.13-3.el5_10 +1
- Red Hat Enterprise Linux Desktop (v. 6) gimp-2:2.6.9-6.el6_5, gimp-help-browser-2:2.6.9-6.el6_5, gimp-libs-2:2.6.9-6.el6_5
- Red Hat Enterprise Linux Desktop Optional (v. 6) gimp-2:2.6.9-6.el6_5, gimp-devel-2:2.6.9-6.el6_5, gimp-devel-tools-2:2.6.9-6.el6_5 +1
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) gimp-2:2.2.13-3.el5_10, gimp-devel-2:2.2.13-3.el5_10, gimp-devel-2:2.2.13-3.el5_10.i386
- Red Hat Enterprise Linux Server (v. 6) gimp-2:2.6.9-6.el6_5, gimp-help-browser-2:2.6.9-6.el6_5, gimp-libs-2:2.6.9-6.el6_5
- Red Hat Enterprise Linux Server Optional (v. 6) gimp-2:2.6.9-6.el6_5, gimp-devel-2:2.6.9-6.el6_5, gimp-devel-2:2.6.9-6.el6_5.ppc +3
- Red Hat Enterprise Linux Workstation (v. 6) gimp-2:2.6.9-6.el6_5, gimp-help-browser-2:2.6.9-6.el6_5, gimp-libs-2:2.6.9-6.el6_5
- Red Hat Enterprise Linux Workstation Optional (v. 6) gimp-2:2.6.9-6.el6_5, gimp-devel-2:2.6.9-6.el6_5, gimp-devel-tools-2:2.6.9-6.el6_5 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2013:1778 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2013:1778 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2013:1778 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2013:1778 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2013:1778 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2013:1778 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2013:1778 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2013:1778 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2013:1778 |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-5576
- 2026-10-03 Alias added: GHSA-vgwq-q6hg-h895
References
Patch 2
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-2012-5576 · CVE Program
- CVE-2012-5576 · NVD
- FIRST EPSS
- GHSA-vgwq-q6hg-h895 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-5576 · 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