Advisory Published

USN-3900-1: GD vulnerabilities

First published: Thu Feb 28 2019(Updated: )

It was discovered that GD incorrectly handled memory when processing certain images. A remote attacker could use this issue with a specially crafted image file to cause GD to crash, resulting in a denial of service, or possibly execute arbitrary code.

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/libgd-tools<2.2.5-4ubuntu1.1
2.2.5-4ubuntu1.1
=18.10
All of
ubuntu/libgd3<2.2.5-4ubuntu1.1
2.2.5-4ubuntu1.1
=18.10
All of
ubuntu/libgd-tools<2.2.5-4ubuntu0.3
2.2.5-4ubuntu0.3
=18.04
All of
ubuntu/libgd3<2.2.5-4ubuntu0.3
2.2.5-4ubuntu0.3
=18.04
All of
ubuntu/libgd-tools<2.1.1-4ubuntu0.16.04.11
2.1.1-4ubuntu0.16.04.11
=16.04
All of
ubuntu/libgd3<2.1.1-4ubuntu0.16.04.11
2.1.1-4ubuntu0.16.04.11
=16.04
All of
ubuntu/libgd-tools<2.1.0-3ubuntu0.11
2.1.0-3ubuntu0.11
=14.04
All of
ubuntu/libgd3<2.1.0-3ubuntu0.11
2.1.0-3ubuntu0.11
=14.04

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 vulnerability ID of this advisory?

    The vulnerability ID is USN-3900-1.

  • What is the description of this vulnerability?

    GD incorrectly handles memory when processing certain images, which can allow a remote attacker to cause a denial of service or execute arbitrary code.

  • What software is affected by this vulnerability?

    The libgd-tools package versions 2.2.5-4ubuntu1.1, 2.2.5-4ubuntu0.3, and 2.1.1-4ubuntu0.16.04.11, as well as the libgd3 package versions 2.2.5-4ubuntu1.1, 2.2.5-4ubuntu0.3, 2.1.1-4ubuntu0.16.04.11, 2.1.0-3ubuntu0.11 are affected.

  • How can an attacker exploit this vulnerability?

    An attacker can exploit this vulnerability by providing a specially crafted image file to GD.

  • What is the remedy for this vulnerability?

    To fix this vulnerability, update to the following package versions: libgd-tools 2.2.5-4ubuntu1.1, libgd3 2.2.5-4ubuntu1.1, libgd-tools 2.2.5-4ubuntu0.3, libgd3 2.2.5-4ubuntu0.3, libgd-tools 2.1.1-4ubuntu0.16.04.11, libgd3 2.1.1-4ubuntu0.16.04.11, libgd-tools 2.1.0-3ubuntu0.11, and libgd3 2.1.0-3ubuntu0.11.

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