CVE-2016-9933
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.0•HIGH•Score: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 6.93%• Percentile: 94%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- debian•libgd2
< 2.2.2-29-g3c2b605-1 | < 2.2.2-29-g3c2b605-1 | < 2.2.2-29-g3c2b605-1 | < 2.2.2-29-g3c2b605-1
- libgd•libgd
2.2.1
References (16)
- http://www.openwall.com/lists/oss-security/2016/12/12/2
- http://lists.opensuse.org/opensuse-updates/2016-12/msg00133.html
- http://lists.opensuse.org/opensuse-updates/2017-01/msg00054.html
- http://www.php.net/ChangeLog-7.php
- http://lists.opensuse.org/opensuse-updates/2017-01/msg00002.html
- https://github.com/php/php-src/commit/863d37ea66d5c960db08d6f4a2cbd2518f0f80d1
- http://www.debian.org/security/2017/dsa-3751
- http://www.securityfocus.com/bid/94865
- https://access.redhat.com/errata/RHSA-2018:1296
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=72696
- http://lists.opensuse.org/opensuse-updates/2017-01/msg00034.html
- http://lists.opensuse.org/opensuse-updates/2016-12/msg00142.html
- https://github.com/libgd/libgd/issues/215
- https://github.com/libgd/libgd/commit/77f619d48259383628c3ec4654b1ad578e9eb40e
- https://security-tracker.debian.org/tracker/CVE-2016-9933