← Vulnerability feed

Vulnerability record · CVE-2015-4024 · published 9 June 2015

CVE-2015-4024: PHP multipart form parsing CPU exhaustion denial of service

Redhat · Enterprise Linux

PHP's multipart_buffer_headers function in main/rfc1867.c has an algorithmic complexity flaw that causes improper order-of-growth behavior when parsing crafted multipart form data. A remote attacker can send specially crafted form data to drive excessive CPU consumption. The issue affects PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9.

5.0 CVSS 2.0 Medium EPSS 50% · top 1.1% CWE-399 · CWE-399
5.0CVSS 2.0 base score
50%EPSS exploitation probability, 30 days
NoNot in CISA KEV
12Affected product versions listed by NVD
38References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Algorithmic complexity vulnerability in the multipart_buffer_headers function in main/rfc1867.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 allows remote attackers to cause a denial of service (CPU consumption) via crafted form data that triggers an improper order-of-growth outcome.

AV:N/AC:L/Au:N/C:N/I:N/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

medium priorityUnauthenticated remote denial of service with high EPSS but only partial availability impact and no confirmed active exploitation or KEV listing.

What it is

PHP's multipart_buffer_headers function in main/rfc1867.c has an algorithmic complexity flaw that causes improper order-of-growth behavior when parsing crafted multipart form data. A remote attacker can send specially crafted form data to drive excessive CPU consumption. The issue affects PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9.

Impact

An unauthenticated remote attacker can exhaust CPU resources on the PHP process, degrading or denying service to legitimate users. The CVSS v2 vector shows partial availability impact only, with no confidentiality or integrity impact.

Attack surface

Reachable over the network via HTTP by submitting crafted multipart form data to any PHP endpoint that processes multipart uploads. No authentication or user interaction is required per the AV:N/AC:L/Au:N vector.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented. EPSS is high (0.50129, 98.85th percentile) and a reference is tagged Exploit, but the record does not confirm active exploitation.

What to do

  • Upgrade PHP to 5.4.41, 5.5.25, 5.6.9 or later, or apply the vendor patch referenced in the PHP changelog.
  • Apply distribution vendor updates for Red Hat, Debian, Fedora, openSUSE, Apple, HP and Oracle products listed in the references.
  • Limit or rate-limit multipart form uploads at the reverse proxy or web server layer.
  • Set request body size and timeout limits to bound CPU spent parsing multipart data.
  • Monitor PHP worker CPU usage for anomalies tied to upload endpoints.

Detection

  • Alert on sustained high CPU usage in PHP-FPM or Apache mod_php workers correlated with multipart POST requests.
  • Inspect web logs for repeated multipart/form-data POSTs with unusually large or malformed header sections.
  • Baseline normal multipart upload sizes and flag outliers that coincide with latency spikes.
  • Track PHP error and slow-request logs for timeouts during form parsing.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

12 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
http://lists.opensuse.org/opensuse-updates/2015-06/msg00002.html
http://php.net/ChangeLog-5.php Patch
http://rhn.redhat.com/errata/RHSA-2015-1135.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2015-1186.html
http://rhn.redhat.com/errata/RHSA-2015-1187.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2015-1218.html
http://rhn.redhat.com/errata/RHSA-2015-1219.html
http://www.debian.org/security/2015/dsa-3280
http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html Third Party Advisory
http://www.securityfocus.com/bid/74903
http://www.securitytracker.com/id/1032432
https://bugs.php.net/bug.php?id=69364 ExploitPatch
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05045763 Third Party Advisory
https://support.apple.com/kb/HT205031
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
http://lists.opensuse.org/opensuse-updates/2015-06/msg00002.html
http://php.net/ChangeLog-5.php Patch
http://rhn.redhat.com/errata/RHSA-2015-1135.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2015-1186.html
http://rhn.redhat.com/errata/RHSA-2015-1187.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2015-1218.html
http://rhn.redhat.com/errata/RHSA-2015-1219.html
http://www.debian.org/security/2015/dsa-3280
http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html Third Party Advisory
http://www.securityfocus.com/bid/74903
http://www.securitytracker.com/id/1032432
https://bugs.php.net/bug.php?id=69364 ExploitPatch
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05045763 Third Party Advisory
https://support.apple.com/kb/HT205031

Track CVE-2015-4024 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2020-14871Oracle Solaris PAM out-of-bounds write allows remote unauthenticated takeoverOracle Solaris 10 and 11 contain an out-of-bounds write (CWE-787) in the Pluggable Authentication Module component, reachable over the network withou…KEVEPSS 80%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed9.8CVE-2015-3113Adobe Flash Player heap buffer overflow allows remote code executionAdobe Flash Player contains a heap-based buffer overflow (CWE-122/CWE-787) reachable through unspecified vectors. It affects Flash Player before 13.0…KEVEPSS 100%analysed9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2015-4024), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.