CVE-2016-9933Libgd
High 7.5 No auth needed
Follow: this CVE · Libgd · Libgd We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 7.5
- EPSS
- 6.9% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Jan 4, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Stack consumption vulnerability in the gdImageFillToBorder function in gd.c in the GD Graphics Library (aka libgd) before 2.2.2, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (segmentation violation) via a crafted imagefilltoborder call that triggers use of a negative color value.
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.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- www.debian.org
- www.openwall.com Third Party Advisory
- www.php.net Release Notes Vendor Advisory
- www.php.net Release Notes Vendor Advisory
- www.securityfocus.com
- access.redhat.com
- bugs.php.net Vendor Advisory
- github.com Patch Vendor Advisory
- github.com Vendor Advisory
- github.com Vendor Advisory