CVE-2012-5576: 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…
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 6.8% (FIRST EPSS); higher than 94.1% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: gimp (Debian:12) 2.8.2-2; gimp (openSUSE:Tumbleweed) 2.8.18-1.4; gimp (Red Hat:enterprise_linux:5::client) 2:2.2.13-3.el5_10.
Low priority for now. Upgrade to gimp (Debian:12) 2.8.2-2; gimp (openSUSE:Tumbleweed) 2.8.18-1.4; gimp (Red Hat:enterprise_linux:5::client) 2:2.2.13-3.el5_10 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Dec 17, 2012
- Updated
- Jun 16, 2026
- EPSS
- 6.8% · 94th percentile
- CWE
- CWE-787
Report tools
Action score
32
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gimp | gimp | cpe:2.3:a:gimp:gimp |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gimp gimpbefore 2.8.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | gimp | before 2.8.2-2 | 2.8.2-2 |
| openSUSE:Tumbleweed | gimp | before 2.8.18-1.4 | 2.8.18-1.4 |
| Red Hat:enterprise_linux:5::client | gimp | before 2:2.2.13-3.el5_10 | 2:2.2.13-3.el5_10 |
| Red Hat:enterprise_linux:5::client | gimp-debuginfo | before 2:2.2.13-3.el5_10 | 2:2.2.13-3.el5_10 |
| Red Hat:enterprise_linux:5::client | gimp-libs | before 2:2.2.13-3.el5_10 | 2:2.2.13-3.el5_10 |
| Red Hat:enterprise_linux:5::client_workstation | gimp-devel | before 2:2.2.13-3.el5_10 | 2:2.2.13-3.el5_10 |
| Red Hat:enterprise_linux:6::client | gimp | before 2:2.6.9-6.el6_5 | 2:2.6.9-6.el6_5 |
| Red Hat:enterprise_linux:6::client | gimp-debuginfo | before 2:2.6.9-6.el6_5 | 2:2.6.9-6.el6_5 |
| Red Hat:enterprise_linux:6::client | gimp-devel | before 2:2.6.9-6.el6_5 | 2:2.6.9-6.el6_5 |
| Red Hat:enterprise_linux:6::client | gimp-devel-tools | before 2:2.6.9-6.el6_5 | 2:2.6.9-6.el6_5 |
| Red Hat:enterprise_linux:6::client | gimp-help-browser | before 2:2.6.9-6.el6_5 | 2:2.6.9-6.el6_5 |
| Red Hat:enterprise_linux:6::client | gimp-libs | before 2:2.6.9-6.el6_5 | 2:2.6.9-6.el6_5 |
Same product
gimp: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-44443GIMP PSP File Parsing Integer Overflow Remote Code Execution Vulnerability54Plan
- CVE-2012-2763Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in GIMP 2.6.12 and earlier, and possibly 2.6.13…54Plan
- CVE-2025-5473GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability43Plan
Published before and after this one in the same product
- ← EarlierCVE-2012-3481Aug 25, 2012 · Integer overflow in the ReadImage function in plug-ins/common/file-gif-load.c in the GIF image format plug-in in GIMP 2.8.x and earlier…29Monitor
- ← EarlierCVE-2012-4245Aug 31, 2012 · The scriptfu network server in GIMP 2.6 does not require authentication, which allows remote attackers to execute arbitrary commands via…28Monitor
- Later →CVE-2013-1913Dec 12, 2013 · Integer overflow in the load_image function in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.6.9 and earlier, when used with glib…28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:gimp | 2.8.2-2 · Debian:12 | Package registry (OSV) |
| opensuse:gimp | 2.8.18-1.4 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:gimp | 2:2.2.13-3.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:gimp-debuginfo | 2:2.2.13-3.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:gimp-devel | 2:2.2.13-3.el5_10 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:gimp-devel-tools | 2:2.6.9-6.el6_5 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gimp-help-browser | 2:2.6.9-6.el6_5 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gimp-libs | 2:2.2.13-3.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- lists.opensuse.org/opensuse-updates/2012-12/msg00017.html
- lists.opensuse.org/opensuse-updates/2013-01/msg00014.html
- secunia.com/advisories/50296
- secunia.com/advisories/51479
- secunia.com/advisories/51528
- www.mandriva.com/security/advisories?name=MDVSA-2013:082
- www.openwall.com/lists/oss-security/2012/11/27/1
- www.securityfocus.com/bid/56647
- www.ubuntu.com/usn/USN-1659-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.