Buffer overflow in GD Graphics Library - CVE-2004-0941

 

Buffer overflow in GD Graphics Library - CVE-2004-0941

Published: May 1, 2018 / Updated: May 2, 2018


Vulnerability identifier: #VU12341
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2004-0941
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Boutell.Com, Inc.
Affected software:
GD Graphics Library

Detailed vulnerability description

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

The weakness exists due to buffer overflow. A remote attacker can execute arbitrary code via specially crafted image files that trigger the overflows due to improper calls to the gdMalloc function.

Successful exploitation of the vulnerability may result in system compromise.


How to mitigate CVE-2004-0941

Update to version 2.0.33-3tr.

Sources