CVE-2004-0941: Buffer Overflow

Published 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.

Affected Software

14 affected components
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

Event History

Nov 19, 2004
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description

Frequently Asked Questions

1

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.

2

How do I fix CVE-2004-0941?

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

3

What systems are affected by CVE-2004-0941?

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

4

What type of vulnerability is CVE-2004-0941?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203