Skip to content
Fencer Vulns
medium 6.5

CVE-2016-6905 json

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 se…

published 2016-10-03 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-7790

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.6%
EPSS 2.6% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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.

Patch / fix

  • libgd2 Debian 14, Debian 13, Debian 12 2.2.2-29-g3c2b605-1

debian advisories DEBIAN-CVE-2016-6905

  • libgd2 Ubuntu 14.04 LTS 2.1.0-3ubuntu0.3
  • libgd2 Ubuntu 16.04 LTS 2.1.1-4ubuntu0.16.04.3

ubuntu advisories UBUNTU-CVE-2016-6905

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gd SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 2.1.0-12.1

suse advisories SUSE-SU-2016:2303-1

  • gd openSUSE Tumbleweed 2.2.3-2.1

opensuse advisories openSUSE-SU-2024:10062-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-6905 updated cvss 4.0

gd: Out-of-bounds read in function read_image_tga in gd_tga.c

  • Red Hat Enterprise Linux 5 gd, php53, libwmf Red Hat Enterprise Linux 6 gd, libwmf, gd-progs, libwmf-lite Red Hat Enterprise Linux 7 gd, libwmf, gd-progs, libwmf-lite Red Hat OpenShift Enterprise 2 gd Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, rh-php56-php, php54-php-cli, +72 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.56% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.