Skip to content
OpenAdvisories
Unscored USN-3213-1 7 CVEs

libgd2 vulnerabilities

Published Feb 28, 2017 · Updated Apr 22, 2026

Summary

Stefan Esser discovered that the GD library incorrectly handled memory when
processing certain images. If a user or automated system were tricked into
processing a specially crafted image, an attacker could cause a denial of
service, or possibly execute arbitrary code. This issue only affected
Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-10166)

It was discovered that the GD library incorrectly handled certain malformed
images. If a user or automated system were tricked into processing a
specially crafted image, an attacker could cause a denial of service.
(CVE-2016-10167)

It was discovered that the GD library incorrectly handled certain malformed
images. If a user or automated system were tricked into processing a
specially crafted image, an attacker could cause a denial of service, or
possibly execute arbitrary code. (CVE-2016-10168)

Ibrahim El-Sayed discovered that the GD library incorrectly handled certain
malformed TGA images. If a user or automated system were tricked into
processing a specially crafted TGA image, an attacker could cause a denial
of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and
Ubuntu 16.10. (CVE-2016-6906)

Ibrahim El-Sayed discovered that the GD library incorrectly handled certain
malformed WebP images. If a user or automated system were tricked into
processing a specially crafted WebP image, an attacker could cause a denial
of service, or possibly execute arbitrary code. This issue only affected
Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-6912)

It was discovered that the GD library incorrectly handled creating
oversized images. If a user or automated system were tricked into creating
a specially crafted image, an attacker could cause a denial of service.
(CVE-2016-9317)

It was discovered that the GD library incorrectly handled filling certain
images. If a user or automated system were tricked into filling an image,
an attacker could cause a denial of service. (CVE-2016-9933)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 14.04 LTS 14.04:LTS libgd2 2.1.0-3ubuntu0.6
Ubuntu · 16.04 LTS 16.04:LTS libgd2 2.1.1-4ubuntu0.16.04.6

Vulnerabilities 7

References

  • report
    https://ubuntu.com/security/CVE-2016-6906
  • report
    https://ubuntu.com/security/CVE-2016-6912
  • report
    https://ubuntu.com/security/CVE-2016-9317
  • report
    https://ubuntu.com/security/CVE-2016-9933
  • report
    https://ubuntu.com/security/CVE-2016-10166
  • report
    https://ubuntu.com/security/CVE-2016-10167
  • report
    https://ubuntu.com/security/CVE-2016-10168