CVE-2013-1978 in Gimp and 2 more products
Heap-based buffer overflow in the read_xwd_cols function in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.6.9 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an X Window System (XWD) image dump with more colors than color map entries.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Gnome Glib
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Heap-based buffer overflow in the read_xwd_cols function in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.6.9 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an X Window System (XWD) image dump with more colors than color map entries.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2013-1978 |
|---|---|
| BreachSpider ID | BS-2013-GLOBAL-094211-M |
| CVSS vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| Published | 2013-12-12 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Gimp systems (CVE-2013-1978). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Heap-based buffer overflow in the read_xwd_cols function in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.6.9 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an X Window System (XWD) image dump with more colors than color map entries. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2013-1978?
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Gimp systems (CVE-2013-1978). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2013-1978?
CVE-2013-1978 has CVSS 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. EPSS: 4.2%.
Is CVE-2013-1978 actively exploited?
No confirmed active exploitation of CVE-2013-1978 as of 2026-09-25.
How do I remediate CVE-2013-1978?
Priority: MONITOR. Advisory: http://rhn.redhat.com/errata/RHSA-2013-1778.html PSIRT: [email protected]
What systems are affected by CVE-2013-1978?
CVE-2013-1978 affects Gimp Gimp; Redhat Enterprise Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gimp","product":"Gimp","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.