CWE
119
Advisory Published

USN-21-1: libgd vulnerabilities

First published: Wed Nov 10 2004(Updated: )

Several buffer overflows have been discovered in libgd's PNG handling functions. If an attacker tricked a user into loading a malicious PNG image, they could leverage this into executing arbitrary code in the context of the user opening image. Most importantly, this library is commonly used in PHP. One possible target would be a PHP driven photo website that lets users upload images. Therefore this vulnerability might lead to privilege escalation to a web server's privileges.

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/libgd1-xpm<
Ubuntu gir1.2-packagekitglib-1.0=4.10
All of
ubuntu/libgd1-noxpm<
Ubuntu gir1.2-packagekitglib-1.0=4.10

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.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of USN-21-1?

    The severity of USN-21-1 is critical due to potential arbitrary code execution exploitability in libgd's PNG handling.

  • How do I fix USN-21-1?

    To fix USN-21-1, update the libgd1-xpm and libgd1-noxpm packages to the latest version provided by Ubuntu.

  • Who is affected by USN-21-1?

    Users of Ubuntu 4.10 with libgd1-xpm or libgd1-noxpm installed are affected by USN-21-1.

  • What components of libgd are vulnerable in USN-21-1?

    The vulnerability in USN-21-1 affects the PNG handling functions within the libgd library.

  • What is the risk of not addressing USN-21-1?

    Not addressing USN-21-1 could allow attackers to execute arbitrary code with the permissions of the user opening a malicious PNG image.

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