CWE
NVD-CWE-Other 119
Advisory Published
Updated

CVE-2004-0941: Buffer Overflow

First published: Fri Nov 19 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
GD Graphics Library (gdlib)=2.0.33
GD Graphics Library (gdlib)=2.0.26
GD Graphics Library (gdlib)=2.0.22
GD Graphics Library (gdlib)=2.0.23
GD Graphics Library (gdlib)=2.0.27
GD Graphics Library (gdlib)=2.0.20
GD Graphics Library (gdlib)=1.8.4
GD Graphics Library (gdlib)=2.0.1
GD Graphics Library (gdlib)=2.0.21
GD Graphics Library (gdlib)=2.0.28
Trustix Secure Linux=2.0
Trustix Secure Linux=1.5
Trustix Secure Linux=2.1
Trustix Secure Linux=2.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2004-0941?

    CVE-2004-0941 is considered to have a high severity as it allows remote attackers to execute arbitrary code.

  • How do I fix CVE-2004-0941?

    To fix CVE-2004-0941, update the GD graphics library to version 2.0.34 or later.

  • What systems are affected by CVE-2004-0941?

    CVE-2004-0941 affects multiple versions of GD graphics library, including 2.0.21 and earlier.

  • What type of vulnerability is CVE-2004-0941?

    CVE-2004-0941 is classified as a buffer overflow vulnerability.

  • Who can exploit CVE-2004-0941?

    CVE-2004-0941 can be exploited by unauthenticated remote attackers through specially crafted image files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203