CVE-2016-4994: Use-after-free vulnerability in the xcf_load_image function in app/xcf/xcf-load.c in GIMP allows remote attackers to cause a denial of…
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: 3.1% (FIRST EPSS); higher than 88% of all records.
- Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: gimp (Debian:12) 2.8.16-2.2; gimp (Debian:7) 2.8.2-2+deb7u2; gimp (Debian:8) 2.8.14-1+deb8u1.
Low priority for now. Upgrade to gimp (Debian:12) 2.8.16-2.2; gimp (Debian:7) 2.8.2-2+deb7u2; gimp (Debian:8) 2.8.14-1+deb8u1 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
Use-after-free vulnerability in the xcf_load_image function in app/xcf/xcf-load.c in GIMP allows remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted XCF file.
- Published
- Jul 12, 2016
- Updated
- Jun 16, 2026
- EPSS
- 3.1% · 88th percentile
- CWE
- CWE-416
Report tools
Action score
32
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.1%
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.18
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.16-2.2 | 2.8.16-2.2 |
| Debian:7 | gimp | before 2.8.2-2+deb7u2 | 2.8.2-2+deb7u2 |
| Debian:8 | gimp | before 2.8.14-1+deb8u1 | 2.8.14-1+deb8u1 |
| openSUSE:Tumbleweed | gimp | before 2.8.18-1.4 | 2.8.18-1.4 |
| Red Hat:enterprise_linux:7::client | gimp | before 2:2.8.16-3.el7 | 2:2.8.16-3.el7 |
| Red Hat:enterprise_linux:7::client | gimp-debuginfo | before 2:2.8.16-3.el7 | 2:2.8.16-3.el7 |
| Red Hat:enterprise_linux:7::client | gimp-devel | before 2:2.8.16-3.el7 | 2:2.8.16-3.el7 |
| Red Hat:enterprise_linux:7::client | gimp-devel-tools | before 2:2.8.16-3.el7 | 2:2.8.16-3.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-ca | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-da | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-de | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-el | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-en_GB | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-es | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-fr | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-it | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-ja | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-ko | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-nl | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-nn | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-pt_BR | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-ru | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
| Red Hat:enterprise_linux:7::client | gimp-help-sl | before 0:2.8.2-1.el7 | 0:2.8.2-1.el7 |
+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-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
- ← EarlierCVE-2013-1978Dec 12, 2013 · 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…28Monitor
- Later →CVE-2017-17784Dec 20, 2017 · In GIMP 2.8.22, there is a heap-based buffer over-read in load_image in plug-ins/common/file-gbr.c in the gbr import parser, related to…31Monitor
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.16-2.2 · Debian:12 | Package registry (OSV) |
| opensuse:gimp | 2.8.18-1.4 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:gimp-debuginfo | 2:2.8.16-3.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-devel | 2:2.8.16-3.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-devel-tools | 2:2.8.16-3.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-ca | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-da | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-de | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-el | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-en_GB | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-es | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-fr | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-it | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gimp-help-ja | 0:2.8.2-1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:gimp | 2.6.2-3.34.47.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | 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
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);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 (8 more)Show less
- rhn.redhat.com/errata/RHSA-2016-2589.html
- www.debian.org/security/2016/dsa-3612
- www.securityfocus.com/bid/91425
- www.securitytracker.com/id/1036226
- www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.431987
- www.ubuntu.com/usn/USN-3025-1
- bugzilla.gnome.org/show_bug.cgi?id=767873
- git.gnome.org/browse/gimp/commit/?id=e82aaa4b4ee0703c879e35ea9321fff6be3e9b6f
Vendor advisories and official records. Exploit/PoC links are deliberately left out.