CVE-2009-4017: 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…

CVE-2009-4017 affects 18 listed versions of PHP in the Dawnsentry catalogue.

5.0CVSS medium
None knownexploitation
12%EPSS (next 30 days)
24 November 2009published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

18 of 250 listed versions are affected. Fixed in 5.2.12. The newest release, 8.6.0, is not affected.

5.2.11 5.2.10 5.2.9 5.2.8 5.2.7 5.2.6 5.2.5 5.2.4 5.2.3 5.1.6 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.0.5 5.0.4

What it is

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.

AV:N/AC:L/Au:N/C:N/I:N/A:P (NVD)

Published by Red Hat on 24 November 2009. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2009-4017 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.