Allocation of Resources Without Limits or Throttling in PHP - CVE-2009-4017

 

Allocation of Resources Without Limits or Throttling in PHP - CVE-2009-4017

Published: February 15, 2024 / Updated: June 13, 2025


Vulnerability identifier: #VU110318
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2009-4017
CWE-ID: CWE-770
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

PHP before 5.2.12 and 5.3.x before 5.3.1 does not restrict the number of temporary files created when handling a multipart/form-data POST request, which allows remote attackers to cause a denial of service (resource exhaustion), and makes it easier for remote attackers to exploit local file inclusion vulnerabilities, via multiple requests, related to lack of support for the max_file_uploads directive.


Affected software

PHP
Slackware Linux
php

How to mitigate CVE-2009-4017

Install update from vendor's website.

PHP - update to 5.3.0
php - update to 5.2.12

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins