CVE-2012-2763
Description
Buffer 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, allows remote attackers to execute arbitrary code via a long string in a command to the script-fu server.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
GIMP script-fu - Server Buffer Overflow (Metasploit)
GIMP 2.6 script-fu < 2.8.0 - Buffer Overflow (PoC)
Metasploit modules
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.8.0-1 |
| sid | Fixed | 2.8.0-1 |
| forky | Fixed | 2.8.0-1 |
| bullseye | Fixed | 2.8.0-1 |
| bookworm | Fixed | 2.8.0-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gimp | gimp | {"endIncluding":"2.6.13"} | |
References
- http://git.gnome.org/browse/gimp/commit/?h=gimp-2-6&id=744f7a4a2b5acb8b531a6f5dd8744ebb95348fc2
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00000.html
- http://lists.opensuse.org/opensuse-updates/2012-09/msg00043.html
- http://secunia.com/advisories/50737
- http://security.gentoo.org/glsa/glsa-201209-23.xml
- http://www.openwall.com/lists/oss-security/2012/05/31/1
- http://www.openwall.com/lists/oss-security/2012/07/01/1
- http://www.reactionpenetrationtesting.co.uk/advisories/scriptfu-buffer-overflow-GIMP-2.6.html
- https://bugzilla.gnome.org/show_bug.cgi?id=679215
- https://security-tracker.debian.org/tracker/CVE-2012-2763
CWEs
CWE-120
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.