Stack-based buffer overflow in Gimp - CVE-2012-5576

 

Stack-based buffer overflow in Gimp - CVE-2012-5576

Published: December 18, 2012 / Updated: August 3, 2020


Vulnerability identifier: #VU33301
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-5576
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing a large (1) red, (2) green, or (3) blue color mask in an XWD file. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gimp
gimp (Alpine package)

How to mitigate CVE-2012-5576

Update to version 2.8.4.

Gimp - update to 2.8.4
gimp (Alpine package) - update to 2.8.10-r0

External References

Related Security Bulletins