Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 477
Alerts This Week
Warning Icon 1 477

Ubuntu 16.04 LTS: USN-2987-1 Moderate: Libgd2 Memory Exploit

ubuntu
Calendar Grey May 31, 2016
Scroller Ubuntu
Recent discoveries of Libgd2 security flaws in Ubuntu have the potential to lead to system crashes or enable arbitrary code execution when handling specially crafted image formats.
The GD library could be made to crash or run programs if it processed a specially crafted image file.

Summary

The GD library could be made to crash or run programs if it processed a

specially crafted image file.

Software Description:

- libgd2: GD Graphics Library

Details:

It was discovered that the GD library incorrectly handled certain color

tables in XPM images. If a user or automated system were tricked into

processing a specially crafted XPM image, an attacker could cause a denial

of service. This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.

(CVE-2014-2497)

It was discovered that the GD library incorrectly handled certain malformed

GIF images. If a user or automated system were tricked into processing a

specially crafted GIF image, an attacker could cause a denial of service.

This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.

(CVE-2014-9709)

It was discovered that the GD library incorrectly handled memory when using

gdImageFillToBorder(). A remote attacker could possibly use this issue to

cause a denial of service. (CVE-2015-8874)

...

Read the Full Advisory

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 16.04 LTS:
  libgd3                          2.1.1-4ubuntu0.16.04.1

Ubuntu 15.10:
  libgd3                          2.1.1-4ubuntu0.15.10.1

Ubuntu 14.04 LTS:
  libgd3                          2.1.0-3ubuntu0.1

Ubuntu 12.04 LTS:
  libgd2-noxpm                    2.0.36~rc1~dfsg-6ubuntu2.1
  libgd2-xpm                      2.0.36~rc1~dfsg-6ubuntu2.1

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-2987-1

CVE-2014-2497, CVE-2014-9709, CVE-2015-8874, CVE-2015-8877,

CVE-2016-3074

May 31, 2016

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.