Buffer overflow in Libgd
CVE-2016-9933
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.069, 94.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgd — versions 2.2.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20161212 CVE assignment for PHP 5.6.28, 5.6.29, 7.0.13, 7.0.14 and 7.1.0 (mailing-list, Third Party Advisory)
- openSUSE-SU-2016:3228 (vendor-advisory)
- openSUSE-SU-2017:0081 (vendor-advisory)
- www.php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- openSUSE-SU-2017:0006 (vendor-advisory)
- github.com/php/php-src/commit/863d37ea66d5c960db08d6f4a2cbd2518f0f80d1 (Vendor Advisory)
- DSA-3751 (vendor-advisory)
- www.securityfocus.com/bid/94865 (vdb-entry)
- RHSA-2018:1296 (vendor-advisory)
- www.php.net/ChangeLog-5.php (Release Notes, Vendor Advisory)