{"api_version":"1","generated_at":"2026-04-22T23:07:57+00:00","cve":"CVE-2016-6906","urls":{"html":"https://cve.report/CVE-2016-6906","api":"https://cve.report/api/cve/CVE-2016-6906.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-6906","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-6906"},"summary":{"title":"CVE-2016-6906","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-03-15 14:59:00","updated_at":"2017-11-04 01:29:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"http://www.debian.org/security/2017/dsa-3777","name":"DSA-3777","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-3777-1 libgd2","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/96503","name":"96503","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"libgd CVE-2016-6906 Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md","name":"https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md","refsource":"CONFIRM","tags":["Release Notes","Third Party Advisory"],"title":"libgd/CHANGELOG.md at gd-2.2.4 · libgd/libgd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415","name":"https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Fix OOB reads of the TGA decompression buffer · libgd/libgd@fb0e0cc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558","name":"https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Fix OOB reads of the TGA decompression buffer · libgd/libgd@58b6dde · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-6906","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6906","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"6906","vulnerable":"1","versionEndIncluding":"2.2.3","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libgd","cpe5":"libgd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-6906","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md","refsource":"CONFIRM","url":"https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md"},{"name":"https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558","refsource":"CONFIRM","url":"https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558"},{"name":"DSA-3777","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-3777"},{"name":"https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415","refsource":"CONFIRM","url":"https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415"},{"name":"96503","refsource":"BID","url":"http://www.securityfocus.com/bid/96503"}]}},"nvd":{"publishedDate":"2017-03-15 14:59:00","lastModifiedDate":"2017-11-04 01:29:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:*","versionEndIncluding":"2.2.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"6906","Ordinal":"93213","Title":"CVE-2016-6906","CVE":"CVE-2016-6906","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"6906","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"6906","Ordinal":"2","NoteData":"2017-03-15","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"6906","Ordinal":"3","NoteData":"2017-11-03","Type":"Other","Title":"Modified"}]}}}