CVE-2014-0050: Infinite-loop denial of service in Apache Commons FileUpload
- Vendors
- Apache Software FoundationOracle Corporation
CVE-2014-0050 is an infinite-loop vulnerability in Apache Commons FileUpload versions 1.0 through 1.3. MultipartStream mishandles small-sized buffers, allowing a crafted multipart request Content-Type header to bypass the processing loop's intended exit conditions. Exploitation causes excessive CPU consumption and denial of service. Affected integrations include Apache Tomcat 7.0.0 through 7.0.50, Tomcat 8.0.0-RC1 through 8.0.1, JBoss Web, and other products bundling the vulnerable library. Upstream Tomcat 6 and earlier do not expose the vulnerable core multipart processing, although Tomcat 6 uses Commons FileUpload in its administrator-authenticated Manager application and vendor distributions may contain affected integrations.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A malformed multipart request can trap request processing in an infinite loop, consuming CPU and disrupting availability of the affected application server. Remote unauthenticated exploitation is possible where vulnerable multipart processing is publicly accessible.
Mitigation
If you can’t patch tonight, do this now.
Limit Content-Type header size to fewer than 4,091 bytes. Disable file-upload functionality where it is unnecessary, particularly in affected Web Experience Factory deployments, where uploads are disabled by default. For Web Experience Factory's bundled Liberty server, an alternative is to remove that server and use another application server supported for model development.
Remediation
Patch, then assume compromise.
Upgrade Apache Commons FileUpload to 1.3.1 or later, or apply the corresponding vendor patch. Apache identified Tomcat 7.0.51 and 8.0.2 as fixed releases; upgrading to later maintained releases also incorporates the fix. For affected Red Hat products, install the applicable backported security updates and restart the server process. For Web Experience Factory using its bundled Liberty application server, apply interim fix 8551-wlp-archive-IFPI12926; unrelated Liberty fixes may break model development. For affected Web Experience Factory and WebSphere Dashboard Framework bundled libraries, apply the applicable LO80075, LO80076, LO80077, or LO80078 fix, and obtain the Portal-specific fix for portlet deployments. The patched Commons FileUpload requires Java 1.5 or later, and no fix was released for WEF/WDF 6.1.5 running on Java 1.4.2.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2014-0050 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2014-0050 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2014-0050?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2014-0050, the earliest disclosed Feb 6, 2014.
- Is there a patch for CVE-2014-0050?
- Upgrade Apache Commons FileUpload to 1.3.1 or later, or apply the corresponding vendor patch. Apache identified Tomcat 7.0.51 and 8.0.2 as fixed releases; upgrading to later maintained releases also incorporates the fix.
- What products are affected by CVE-2014-0050?
- Apache Software Foundation Commons Fileupload, Apache Software Foundation Tomcat, and Oracle Corporation Retail Applications.
- How severe is CVE-2014-0050?
- CVE-2014-0050 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 82.7% (100th percentile) as of Oct 16, 2026.
Recent activity
35 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.