CVE-2012-2763

high
Published 2012-07-12 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.5

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

Exploit likelihood
20%
Patch ETA
โ€”

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 with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-18973 remote windows verified
Metasploit ยท 2012-06-02

GIMP script-fu - Server Buffer Overflow (Metasploit)

Source code queued for fetch โ€” refresh in a moment.
EDB-18956 dos windows
Joseph Sheridan ยท 2012-05-31

GIMP 2.6 script-fu < 2.8.0 - Buffer Overflow (PoC)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

GIMP script-fu Server Buffer Overflow
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed 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

VendorProductVersionsFixed
gimpgimp{"endIncluding":"2.6.13"}

References

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.