#VU12901 Resource exhaustion in PHP


Published: 2018-05-21 | Updated: 2018-05-22

Vulnerability identifier: #VU12901

Vulnerability risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

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
http://www.php.net/ChangeLog-5.php
http://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