#VU12901 Resource exhaustion in PHP - CVE-2016-9933


| Updated: 2018-05-22

Vulnerability identifier: #VU12901

Vulnerability risk: Low

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2016-9933

CWE-ID: CWE-400

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description
The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the gdImageFillToBorder function in gd.c due to stack consumption. A remote attacker can submit a specially crafted imagefilltoborder call that triggers use of a negative color value and cause the service to crash.

Mitigation
Update libgd to 2.2.2 or PHP to 5.6.28 or 7.0.13.

Vulnerable software versions

PHP: 5.6.0 - 5.6.27, 7.0.0 - 7.0.12


External links
https://www.php.net/ChangeLog-5.php
https://www.php.net/ChangeLog-7.php


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability