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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.2.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "58b6dde319c301b0eae27d12e2a659e067d80558"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "fb0e0cce0b9f25389ab56604c3547351617e1415"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6906.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "313491885300404418528983452416330495039",
"length": 2283
},
"id": "CVE-2016-6906-9ef5b5fe",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415",
"target": {
"file": "src/gd_tga.c",
"function": "read_image_tga"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"283165936932129907493891340807525991341",
"141464916060364538192549316599818685788",
"15568252723028703085783273377507004347",
"106630161317693510202359332075049135781",
"137639860745247822653172809542557393346",
"222374484034007733712976557154961854199",
"15568252723028703085783273377507004347",
"106630161317693510202359332075049135781"
],
"threshold": 0.9
},
"id": "CVE-2016-6906-df183342",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415",
"target": {
"file": "src/gd_tga.c"
}
}
]
"2026-10-20T13:15:41Z"