CVE-2016-7568Libgd
Critical 9.8 No auth needed
Follow: this CVE · Libgd · Libgd We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 5.1% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Sep 28, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Integer overflow in the gdImageWebpCtx function in gd_webp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP through 7.0.11, allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted imagewebp and imagedestroy calls.
What to do
- Apply the vendor's security update for Libgd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libgd | libgd | ≤ 2.2.3 |
| php | php | ≥ 5.6.0 ≤ 5.6.26 |
| php | php | ≥ 7.0.0 ≤ 7.0.11 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.debian.org Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- bugs.php.net Issue Tracking Vendor Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- security.gentoo.org Third Party Advisory