Quantum Secular Labs / Blog / Advisories

CVE-2004-0990: Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote…

CVE-2004-0990 has a CVSS v2 base score of 10.0 (the maximum on that scale) and NVD lists 5 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

Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote attackers to cause a denial of service and possibly execute arbitrary code via PNG image files with large image rows values that lead to a heap-based buffer overflow in the gdImageCreateFromPngCtx function, a different set of vulnerabilities than CVE-2004-0941.

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.15; 2.0.20; 2.0.21; 2.0.22; 2.0.23; 2.0.26; 2.0.27; 2.0.28
  • Openpkg: 2.1; 2.2; current
  • Gentoo Linux: all versions listed by NVD
  • Suse Linux: 8.0; 8.1; 8.2; 9.0; 9.1; 9.2
  • Trustix Secure Linux: 1.5; 2.0; 2.1; 2.2

References