CVE-2016-10167
What it is
The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.
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
- 3.7% 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: 3.7% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.7% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- 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-10167.md and follow it. Check whether this project is affected by CVE-2016-10167. 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
- http://libgd.github.io/release-2.2.4.html
- http://www.openwall.com/lists/oss-security/2017/01/26/1
- http://www.openwall.com/lists/oss-security/2017/01/28/6
- https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f
- http://libgd.github.io/release-2.2.4.html
- http://www.openwall.com/lists/oss-security/2017/01/26/1
- http://www.openwall.com/lists/oss-security/2017/01/28/6
- https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f
References
- http://libgd.github.io/release-2.2.4.html
- http://www.debian.org/security/2017/dsa-3777
- http://www.openwall.com/lists/oss-security/2017/01/26/1
- http://www.openwall.com/lists/oss-security/2017/01/28/6
- http://www.securityfocus.com/bid/95869
- http://www.securitytracker.com/id/1037659
- https://access.redhat.com/errata/RHSA-2017:3221
- https://access.redhat.com/errata/RHSA-2018:1296
- https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f
- https://www.tenable.com/security/tns-2017-04
- http://libgd.github.io/release-2.2.4.html
- http://www.debian.org/security/2017/dsa-3777
- http://www.openwall.com/lists/oss-security/2017/01/26/1
- http://www.openwall.com/lists/oss-security/2017/01/28/6
- http://www.securityfocus.com/bid/95869
- http://www.securitytracker.com/id/1037659
- https://access.redhat.com/errata/RHSA-2017:3221
- https://access.redhat.com/errata/RHSA-2018:1296
- https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f
- https://www.tenable.com/security/tns-2017-04