gd: Out-of-bounds read in read_image_tga function
Published Mar 15, 2017
5.5
MEDIUMCVSS 3.0
EPSS 1.99%
Description
The read_image_tga function in gd_tga.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file, related to the decompression buffer.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
gd
Not affected
Red Hat Enterprise Linux 5
libwmf
Not affected
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
gd
Not affected
Red Hat Enterprise Linux 6
libwmf
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
gd
Not affected
Red Hat Enterprise Linux 7
libwmf
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat OpenShift Enterprise 2
php
Not affected
Red Hat Software Collections
rh-php56-php
Not affected
Red Hat Software Collections
rh-php70-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | gd | Not affected | n/a |
| Red Hat Enterprise Linux 5 | libwmf | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | gd | Not affected | n/a |
| Red Hat Enterprise Linux 6 | libwmf | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | gd | Not affected | n/a |
| Red Hat Enterprise Linux 7 | libwmf | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat OpenShift Enterprise 2 | php | Not affected | n/a |
| Red Hat Software Collections | rh-php56-php | Not affected | n/a |
| Red Hat Software Collections | rh-php70-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.99% (0.01993) | 79.93th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.98% (0.01977) | 77.83th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.45% (0.00448) | 61.45th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.71% (0.00711) | 81.12th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.71% (0.00711) | 79.88th | v3 (v2023.03.01) |
| Jul 31, 2023 | 0.71% (0.00711) | 77.88th | v3 (v2023.03.01) |
| Mar 31, 2023 | 0.61% (0.00611) | 75.47th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.51% (0.00510) | 72.95th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 17, 2023 | 1.21% (0.01213) | 66.22th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.21% (0.01213) | 64.21th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
References (9)
- http://www.debian.org/security/2017/dsa-3777 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/96503 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2016-6906 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1435313 Issue Tracking
- https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md x_refsource_CONFIRMRelease NotesThird Party Advisory
- https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558 x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415 x_refsource_CONFIRMPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-6906
- https://www.cve.org/CVERecord?id=CVE-2016-6906
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2017/dsa-3777 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.securityfocus.com/bid/96503 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2016-6906 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1435313 | Issue Tracking | |
| https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md | x_refsource_CONFIRMRelease NotesThird Party Advisory | |
| https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-6906 | ||
| https://www.cve.org/CVERecord?id=CVE-2016-6906 |
Change history (0)
No recorded changes yet.