CVE-2014-0050
Commons FileUpload Denial of service vulnerability
Also known as EDB-31615, GHSA-xx68-jfcg-xmmf
Mitigation
- Upgrade commons-fileupload:commons-fileupload to 1.3.1 or later.
- Upgrade org.apache.tomcat:tomcat to one of 8.0.3, 7.0.52 (or later in the same release line).
Who should check
- Projects that depend on Maven package commons-fileupload:commons-fileupload (< 1.3.1)
- Projects that depend on Maven package org.apache.tomcat:tomcat (>= 8.0.0-RC1, < 8.0.3)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- commons-fileupload:commons-fileupload < 1.3.1; org.apache.tomcat:tomcat >= 8.0.0-RC1, < 8.0.3
- Fixed in
- 1.3.1, 8.0.3, 7.0.52
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 82.67% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-264, CWE-835
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven commons-fileupload:commons-fileupload | < 1.3.1 | 1.3.1 | osv |
| Maven org.apache.tomcat:tomcat | >= 8.0.0-RC1, < 8.0.3 | 8.0.3, 7.0.52 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2014-0050. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2014-0050.md Affected: commons-fileupload:commons-fileupload < 1.3.1; org.apache.tomcat:tomcat >= 8.0.0-RC1, < 8.0.3 Fixed in: 1.3.1, 8.0.3, 7.0.52 Steps: 1. Search this machine and project for commons-fileupload:commons-fileupload (Maven), org.apache.tomcat:tomcat (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://marc.info/?l=bugtraq&m=143136844732487&w=2
- http://www.debian.org/security/2014/dsa-2856
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:084
- http://rhn.redhat.com/errata/RHSA-2014-0252.html
- http://www.ubuntu.com/usn/USN-2130-1
- http://rhn.redhat.com/errata/RHSA-2014-0400.html
- http://rhn.redhat.com/errata/RHSA-2014-0253.html
- https://security.gentoo.org/glsa/202107-39
- https://nvd.nist.gov/vuln/detail/CVE-2014-0050
- https://github.com/advisories/GHSA-xx68-jfcg-xmmf
Patches
Exploits and PoCs
Other
- http://www.vmware.com/security/advisories/VMSA-2014-0008.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21676656
- http://jvn.jp/en/jp/JVN14876762/index.html
- http://secunia.com/advisories/60753
- https://bugzilla.redhat.com/show_bug.cgi?id=1062337
- http://secunia.com/advisories/59184
- http://www-01.ibm.com/support/docview.wss?uid=swg21677691
- http://secunia.com/advisories/59039
- http://secunia.com/advisories/59185
- http://www-01.ibm.com/support/docview.wss?uid=swg21676401
- http://www.vmware.com/security/advisories/VMSA-2014-0012.html
- http://secunia.com/advisories/58075
- http://www-01.ibm.com/support/docview.wss?uid=swg21676853
- http://secunia.com/advisories/59187
- http://secunia.com/advisories/59041
- http://www-01.ibm.com/support/docview.wss?uid=swg21676092
- http://www-01.ibm.com/support/docview.wss?uid=swg21681214
- http://www.vmware.com/security/advisories/VMSA-2014-0007.html
- http://secunia.com/advisories/60475
- http://www.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917
- http://advisories.mageia.org/MGASA-2014-0110.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324755
- http://www.hitachi.co.jp/Prod/comp/soft1/global/security/info/vuls/HS14-017/index.html
- http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21676410
- http://www-01.ibm.com/support/docview.wss?uid=swg21676405
- http://secunia.com/advisories/59492
- http://www.securityfocus.com/archive/1/534161/100/0/threaded
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://secunia.com/advisories/59500
- http://secunia.com/advisories/59183
- http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21676403
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://www.huawei.com/en/security/psirt/security-bulletins/security-advisories/hw-350733.htm
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000017
- http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- http://www.securityfocus.com/bid/65400
- http://secunia.com/advisories/59725
- http://seclists.org/fulldisclosure/2014/Dec/23
- http://www-01.ibm.com/support/docview.wss?uid=swg21675432
- http://secunia.com/advisories/57915
- http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html
- http://secunia.com/advisories/59399
- http://mail-archives.apache.org/mod_mbox/commons-dev/201402.mbox/%3C52F373FC.9030907%40apache.org%3E
- http://www-01.ibm.com/support/docview.wss?uid=swg21676091
- http://secunia.com/advisories/58976
- http://www.hitachi.co.jp/Prod/comp/soft1/global/security/info/vuls/HS14-015/index.html
- http://secunia.com/advisories/59232
- http://www.hitachi.co.jp/Prod/comp/soft1/global/security/info/vuls/HS14-016/index.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21677724
- http://www.securityfocus.com/archive/1/532549/100/0/threaded
- http://www-01.ibm.com/support/docview.wss?uid=swg21669554
- https://github.com/apache/commons-fileupload
- https://svn.apache.org/viewvc?view=revision&revision=1565143
- https://svn.apache.org/viewvc?view=revision&revision=1565163
- https://svn.apache.org/viewvc?view=revision&revision=1565169
- https://tomcat.apache.org/security-7.html
- https://tomcat.apache.org/security-8.html
- http://mail-archives.apache.org/mod_mbox/commons-dev/201402.mbox/%3C52F373FC.9030907@apache.org%3E
FAQ
Is CVE-2014-0050 being exploited?
There is no confirmed exploitation: CVE-2014-0050 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 82.67% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2014-0050?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2014-0050?
commons-fileupload:commons-fileupload < 1.3.1; org.apache.tomcat:tomcat >= 8.0.0-RC1, < 8.0.3.
Is there a fix for CVE-2014-0050?
Yes. Fixed in 1.3.1, 8.0.3, 7.0.52. Upgrade commons-fileupload:commons-fileupload to 1.3.1 or later. Upgrade org.apache.tomcat:tomcat to one of 8.0.3, 7.0.52 (or later in the same release line).
How do I check if I'm affected by CVE-2014-0050?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.