High

Commons FileUpload Denial of service vulnerability

  • Disclosed: 21.12.2018
  • Updated: 11.10.2026 12:21

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) commons-fileupload:commons-fileupload < 1.3.1 1.3.1
Java / Kotlin (Maven) org.apache.tomcat:tomcat >= 8.0.0-RC1, < 8.0.3, >= 7.0.0, < 7.0.52 8.0.3, 7.0.52

References

CVSS score -
Weakness (CWE)
CWE-20
Platform
Java / Kotlin (Maven)
Package
commons-fileupload:commons-fileupload, org.apache.tomcat:tomcat
Disclosed
21.12.2018
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-xx68-jfcg-xmmf - CC BY 4.0

Vulnerability history: commons-fileupload:commons-fileupload

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
7
First → latest
12.2018 06.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 5
  • Low 1

Disclosures per year

  1. 2018: 3
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 2
  6. 2023: 1
  7. 2024: 0
  8. 2025: 1
  9. 2026: 0
  1. High · 7.5 CVE-2023-24998 < 1.5 1.5
  2. High CVE-2013-2186 < 1.3.1 1.3.1
  3. Low CVE-2013-0248 >= 1.0, < 1.2.2 1.2.2
  4. Critical · 9.8 CVE-2016-1000031 < 1.3.3 1.3.3
  5. Commons FileUpload Denial of service vulnerability this entry
    High CVE-2014-0050 < 1.3.1 1.3.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.