CVE-2016-6905

Publication date 3 October 2016

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

6.5 · Medium

Score breakdown

Description

The read_image_tga function in gd_tga.c in the GD Graphics Library (aka libgd) before 2.2.3 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA image.

Read the notes from the security team

Status

Package Ubuntu Release Status
libgd2 16.04 LTS xenial
Fixed 2.1.1-4ubuntu0.16.04.3
14.04 LTS trusty
Fixed 2.1.0-3ubuntu0.3
12.04 LTS precise
Not affected
php5 16.04 LTS xenial Not in release
14.04 LTS trusty
Not affected
12.04 LTS precise
Not affected
php7.0 16.04 LTS xenial
Not affected
14.04 LTS trusty Not in release
12.04 LTS precise Not in release

Notes


mdeslaur

php uses the system libgd2 The commits to fix this issue were included in usn-3060-1 as part of the CVE-2016-6132 fix.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libgd2

Severity score breakdown

CVSS version: CVSS v3.0

Base score 6.5 · Medium

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H


Access our resources on patching vulnerabilities