Quantum Secular Labs / Blog / Advisories

CVE-2004-0941: Gd Graphics Library Gdlib: Buffer overflow

CVE-2004-0941 has a CVSS v2 base score of 10.0 (the maximum on that scale) and NVD lists 2 affected products, including Gd Graphics Library Gdlib. Per its scoring, it can be exploited over the network, without authentication. The scored impact on confidentiality, integrity and availability is the highest available.

Vulnerability description

Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote attackers to execute arbitrary code via malformed image files that trigger the overflows due to improper calls to the gdMalloc function, a different set of vulnerabilities than CVE-2004-0990.

Severity breakdown

CVSS v2.0 10.0: AV:N/AC:L/Au:N/C:C/I:C/A:C

  • Access vector: Network. Exploitable remotely over the network.
  • Access complexity: Low. No special conditions are required.
  • Authentication: None. No authentication is needed.
  • Confidentiality impact: Complete. Total information disclosure.
  • Integrity impact: Complete. Total loss of integrity.
  • Availability impact: Complete. Total shutdown of the component.

Affected products

  • Gd Graphics Library Gdlib: 1.8.4; 2.0.1; 2.0.20; 2.0.21; 2.0.22; 2.0.23; 2.0.26; 2.0.27; 2.0.28; 2.0.33
  • Trustix Secure Linux: 1.5; 2.0; 2.1; 2.2

References