← Vulnerability feed

Vulnerability record · CVE-2014-0050 · published 1 April 2014

CVE-2014-0050: Apache Commons FileUpload Content-Type header denial of service

Oracle · Retail Applications

MultipartStream.java in Apache Commons FileUpload before 1.3.1 fails to properly terminate a parsing loop when handling a crafted Content-Type header, causing an infinite loop and sustained CPU consumption. The library is embedded in Apache Tomcat, JBoss Web and other products, so the flaw affects any multipart upload endpoint built on those stacks. It matters because a single malformed request can exhaust server CPU and deny service to legitimate users.

7.5 CVSS 2.0 High EPSS 83% · top 0.3% CWE-264 · Permissions and access controls
7.5CVSS 2.0 base score
83%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
138References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other products, allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a crafted Content-Type header that bypasses a loop's intended exit conditions.

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

Automated analysis

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

high priorityUnauthenticated remote denial of service with a very high EPSS score and public exploit code, though not listed in KEV.

What it is

MultipartStream.java in Apache Commons FileUpload before 1.3.1 fails to properly terminate a parsing loop when handling a crafted Content-Type header, causing an infinite loop and sustained CPU consumption. The library is embedded in Apache Tomcat, JBoss Web and other products, so the flaw affects any multipart upload endpoint built on those stacks. It matters because a single malformed request can exhaust server CPU and deny service to legitimate users.

Impact

An unauthenticated remote attacker can pin CPU on the affected server, degrading or halting request processing for other users. The record describes denial of service only; no data disclosure or code execution is stated.

Attack surface

Reached over the network by sending an HTTP request with a crafted multipart Content-Type header to an endpoint that parses multipart uploads. The CVSS vector (AV:N/AC:L/Au:N) indicates no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.82766, 99.65th percentile) and a public exploit write-up is referenced, so exploitation is likely and widespread scanning should be assumed.

What to do

  • Upgrade Apache Commons FileUpload to 1.3.1 or later, and apply the corresponding Tomcat, JBoss Web or vendor patches that bundle the fixed library.
  • Inventory applications and embedded libraries for Commons FileUpload versions below 1.3.1, including transitive dependencies.
  • Where immediate upgrade is not possible, apply vendor workarounds or restrict multipart upload endpoints to trusted networks.
  • Enforce request size and rate limits at the reverse proxy or WAF to blunt CPU exhaustion from repeated malformed requests.

Detection

  • Monitor for sustained high CPU on application or Tomcat hosts correlated with multipart POST requests.
  • Alert on repeated requests with malformed or unusual multipart Content-Type boundary values.
  • Review web access logs for bursts of multipart upload requests from single sources or with abnormal boundary strings.
  • Track thread dumps or stack traces showing MultipartStream parsing loops during CPU spikes.

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

Affected products

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

References

LinkTags
http://advisories.mageia.org/MGASA-2014-0110.html
http://blog.spiderlabs.com/2014/02/cve-2014-0050-exploit-with-boundaries-loops-without-boundaries.html Exploit
http://jvn.jp/en/jp/JVN14876762/index.html
http://jvndb.jvn.jp/jvndb/JVNDB-2014-000017
http://mail-archives.apache.org/mod_mbox/commons-dev/201402.mbox/%3C52F373FC.9030907%40apache.org%3E
http://marc.info/?l=bugtraq&m=143136844732487&w=2
http://packetstormsecurity.com/files/127215/VMware-Security-Advisory-2014-0007.html
http://rhn.redhat.com/errata/RHSA-2014-0252.html
http://rhn.redhat.com/errata/RHSA-2014-0253.html
http://rhn.redhat.com/errata/RHSA-2014-0400.html
http://seclists.org/fulldisclosure/2014/Dec/23
http://secunia.com/advisories/57915
http://secunia.com/advisories/58075
http://secunia.com/advisories/58976
http://secunia.com/advisories/59039
http://secunia.com/advisories/59041
http://secunia.com/advisories/59183
http://secunia.com/advisories/59184
http://secunia.com/advisories/59185
http://secunia.com/advisories/59187
http://secunia.com/advisories/59232
http://secunia.com/advisories/59399
http://secunia.com/advisories/59492
http://secunia.com/advisories/59500
http://secunia.com/advisories/59725
http://secunia.com/advisories/60475
http://secunia.com/advisories/60753
http://svn.apache.org/r1565143 Patch
http://tomcat.apache.org/security-7.html PatchVendor Advisory
http://tomcat.apache.org/security-8.html PatchVendor Advisory
http://www-01.ibm.com/support/docview.wss?uid=swg21669554
http://www-01.ibm.com/support/docview.wss?uid=swg21675432
http://www-01.ibm.com/support/docview.wss?uid=swg21676091
http://www-01.ibm.com/support/docview.wss?uid=swg21676092
http://www-01.ibm.com/support/docview.wss?uid=swg21676401
http://www-01.ibm.com/support/docview.wss?uid=swg21676403
http://www-01.ibm.com/support/docview.wss?uid=swg21676405
http://www-01.ibm.com/support/docview.wss?uid=swg21676410
http://www-01.ibm.com/support/docview.wss?uid=swg21676656
http://www-01.ibm.com/support/docview.wss?uid=swg21676853

Track CVE-2014-0050 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.

9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2020-1938Apache Tomcat AJP connector file read and JSP execution flawApache Tomcat shipped an AJP Connector enabled by default that listened on all configured IP addresses, and Tomcat treats AJP connections as more tru…KEVEPSS 99%analysed9.8CVE-2016-8735Apache Tomcat JmxRemoteLifecycleListener remote code executionApache Tomcat's JmxRemoteLifecycleListener was not updated to match the Oracle CVE-2016-3427 credential-type fix, leaving a deserialization weakness …KEVEPSS 90%analysed8.1CVE-2017-12617Apache Tomcat Default Servlet JSP upload leads to remote code executionApache Tomcat with HTTP PUT enabled (for example, the Default servlet readonly parameter set to false) allows an attacker to upload a JSP file throug…KEVEPSS 100%analysed8.1CVE-2017-12615Apache Tomcat on Windows unrestricted JSP upload via HTTP PUTApache Tomcat 7.0.0 through 7.0.79 on Windows with HTTP PUT enabled (for example, Default servlet readonly set to false) allows an attacker to upload…KEVEPSS 100%analysed7.5CVE-2026-34486Apache Tomcat EncryptInterceptor bypass exposes sensitive dataApache Tomcat contains a missing encryption of sensitive data flaw: the fix for CVE-2026-29146 can be bypassed, allowing the EncryptInterceptor to be…KEVEPSS 6.6%analysed7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed9.8CVE-2026-65637Apache tomcat improper input validation vulnerabilityImproper Input Validation vulnerability in Apache Tomcat due to incomplete fix for CVE-2026-32990. This issue affects Apache Tomcat: from 11.0.20 thr…EPSS 0.74%

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