CVE-2016-6906
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. High risk of service disruption.
- Exploit odds
- 2.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.0% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.0% · EPSS, next 30 days
- Weakness
- CWE-125 · Out-of-bounds read
- Record status
- Modified
Affected
- Libgd ≤ 2.2.3
Attack profile CVSS 3.0 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-6906.md and follow it. Check whether this project is affected by CVE-2016-6906. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558
- https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415
- https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558
- https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415
References
- http://www.debian.org/security/2017/dsa-3777
- http://www.securityfocus.com/bid/96503
- https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md
- https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558
- https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415
- http://www.debian.org/security/2017/dsa-3777
- http://www.securityfocus.com/bid/96503
- https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md
- https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558
- https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415