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…
Noroxi assessment
Priority: Monitor (action score 24/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 12% (FIRST EPSS); higher than 96.2% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: php5 (Debian:4.0) 5.2.0+dfsg-8+etch16; php5 (Debian:5.0) 5.2.6.dfsg.1-1+lenny4; php (Red Hat:enterprise_linux:3::as) 0:4.3.2-54.ent.
Low priority for now. Upgrade to php5 (Debian:4.0) 5.2.0+dfsg-8+etch16; php5 (Debian:5.0) 5.2.6.dfsg.1-1+lenny4; php (Red Hat:enterprise_linux:3::as) 0:4.3.2-54.ent or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Nov 23, 2009
- Updated
- Jun 16, 2026
- EPSS
- 12.0% · 96th percentile
- CWE
- CWE-770
Report tools
Action score
24
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 4 / 30 · 12.0%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php phpbefore 5.2.12
- php php5.3.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | php5 | before 5.2.0+dfsg-8+etch16 | 5.2.0+dfsg-8+etch16 |
| Debian:5.0 | php5 | before 5.2.6.dfsg.1-1+lenny4 | 5.2.6.dfsg.1-1+lenny4 |
| Red Hat:enterprise_linux:3::as | php | before 0:4.3.2-54.ent | 0:4.3.2-54.ent |
| Red Hat:enterprise_linux:3::as | php-debuginfo | before 0:4.3.2-54.ent | 0:4.3.2-54.ent |
| Red Hat:enterprise_linux:3::as | php-devel | before 0:4.3.2-54.ent | 0:4.3.2-54.ent |
| Red Hat:enterprise_linux:3::as | php-imap | before 0:4.3.2-54.ent | 0:4.3.2-54.ent |
| Red Hat:enterprise_linux:3::as | php-ldap | before 0:4.3.2-54.ent | 0:4.3.2-54.ent |
| Red Hat:enterprise_linux:3::as | php-mysql | before 0:4.3.2-54.ent | 0:4.3.2-54.ent |
| Red Hat:enterprise_linux:3::as | php-odbc | before 0:4.3.2-54.ent | 0:4.3.2-54.ent |
| Red Hat:enterprise_linux:3::as | php-pgsql | before 0:4.3.2-54.ent | 0:4.3.2-54.ent |
| Red Hat:enterprise_linux:4::as | php | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-debuginfo | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-devel | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-domxml | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-gd | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-imap | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-ldap | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-mbstring | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-mysql | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-ncurses | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-odbc | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-pear | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-pgsql | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
| Red Hat:enterprise_linux:4::as | php-snmp | before 0:4.3.9-3.29 | 0:4.3.9-3.29 |
+21
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2009-3558Nov 23, 2009 · The posix_mkfifo function in ext/posix/posix.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass…28Monitor
- ← EarlierCVE-2009-3559Nov 23, 2009 · main/streams/plain_wrapper.c in PHP 5.3.x before 5.3.1 does not recognize the safe_mode_include_dir directive, which allows…31Monitor
- Later →CVE-2009-4018Nov 29, 2009 · The proc_open function in ext/standard/proc_open.c in PHP before 5.2.11 and 5.3.x before 5.3.1 does not enforce the (1)…33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:php5 | 5.2.0+dfsg-8+etch16 · Debian:4.0 | Package registry (OSV) |
| red hat:php | 0:4.3.2-54.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-debuginfo | 0:4.3.2-54.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-devel | 0:4.3.2-54.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-domxml | 0:4.3.9-3.29 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-gd | 0:4.3.9-3.29 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-imap | 0:4.3.2-54.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-ldap | 0:4.3.2-54.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-mbstring | 0:4.3.9-3.29 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-mysql | 0:4.3.2-54.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-ncurses | 0:4.3.9-3.29 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-odbc | 0:4.3.2-54.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-pgsql | 0:4.3.2-54.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | dos | 2009-11-27 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+3 d
- TodayNov 16, 2026+6201 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-770 · Allocation of Resources Without Limits or ThrottlingCVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- FloodingCAPEC-125likelihood: High · Medium
- Excessive AllocationCAPEC-130likelihood: Medium · Medium
- XML Ping of the DeathCAPEC-147likelihood: Low · Medium
- Exponential Data ExpansionCAPEC-197likelihood: High · Medium
- Serialized Data Parameter BlowupCAPEC-229likelihood: High · High
- Serialized Data with Nested PayloadsCAPEC-230likelihood: Medium · High
- Oversized Serialized Data PayloadsCAPEC-231likelihood: Medium · High
- HTTP DoSCAPEC-469Low
ATT&CK techniques
- Network Denial of Service:Direct Network FloodT1498.001
- Network Denial of Service:Reflection AmplificationT1498.002
- Endpoint Denial of ServiceT1499
- Endpoint Denial of Service: OS Exhaustion FloodT1499.001
- Endpoint Denial of Service:Service Exhaustion FloodT1499.002
- Endpoint Denial of Service:Application Exhaustion FloodT1499.003
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- marc.info/?l=bugtraq&m=127680701405735&w=2
- news.php.net/php.announce/79
- seclists.org/fulldisclosure/2009/Nov/228
- secunia.com/advisories/37482
- secunia.com/advisories/37821
- secunia.com/advisories/40262
- secunia.com/advisories/41480
- secunia.com/advisories/41490
- support.apple.com/kb/HT4077
- www.acunetix.com/blog/websecuritynews/php-multipartform-data-denial-of-service/
- www.debian.org/security/2009/dsa-1940
- www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02512995
- www.mandriva.com/security/advisories?name=MDVSA-2009:303
- www.mandriva.com/security/advisories?name=MDVSA-2009:305
- www.openwall.com/lists/oss-security/2009/11/20/2
- www.openwall.com/lists/oss-security/2009/11/20/7
- www.php.net/ChangeLog-5.php
- www.php.net/releases/5_2_12.php
- www.php.net/releases/5_3_1.php
Vendor advisories and official records. Exploit/PoC links are deliberately left out.