CVE-2025-48976 Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers

High 7.5 Published Updated

Attackers can cause denial of service in applications using Apache Commons FileUpload by sending multipart headers with excessive resource allocation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-48976?

CVE-2025-48976 is a high-severity denial of service vulnerability in Apache Commons FileUpload, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Allocation of resources for multipart headers with insufficient limits enabled a DoS vulnerability in Apache Commons FileUpload.

This issue affects Apache Commons FileUpload: from 1.0 before 1.6; from 2.0.0-M1 before 2.0.0-M4.

Users are recommended to upgrade to versions 1.6 or 2.0.0-M4, which fix the issue.

Weakness: CWE-770

Which versions are affected by CVE-2025-48976?

4 open source packages ship an affected version, including org.apache.commons:commons-fileupload2-core and commons-fileupload:commons-fileupload. It affects 1 product.

PackageAffectedFixed in
org.apache.commons:commons-fileupload2-core MavenFrom 2.0.0-M12.0.0-M4
org.apache.commons:commons-fileupload2-core MavenFrom 2.0.0-M12.0.0-M4
commons-fileupload:commons-fileupload MavenFrom 1.01.6.0
commons-fileupload:commons-fileupload MavenFrom 1.01.6.0
Linux distribution packages (19)
apache-commons-fileupload SUSE:Enterprise Storage 7.1All versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise Module for Web and Scripting 15 SP6All versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise Module for Web and Scripting 15 SP7All versions1.6.0-150200.3.12.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions1.6.0-126.3.1
apache-commons-fileupload SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions1.6.0-150200.3.12.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions1.6.0-126.3.1
apache-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions1.6.0-150200.3.12.1
apache-commons-fileupload SUSE:Manager Server 4.3All versions1.6.0-150200.3.12.1
apache-commons-fileupload openSUSE:Leap 15.6All versions1.6.0-150200.3.12.1
apache-commons-fileupload openSUSE:TumbleweedAll versions1.6.0-1.1

Products include Apache Commons Fileupload.

How do I fix CVE-2025-48976?

Upgrade org.apache.commons:commons-fileupload2-core to 2.0.0-M4 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-48976 being exploited?

There is no known exploitation of CVE-2025-48976 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as CLSA-2026-1777509601, CLSA-2026-1777509603, CLSA-2026-1777941823, DEBIAN-CVE-2025-48976, ECHO-830f-870a-69ba, GHSA-vv7r-c36w-3prj and 18 more.

Is CVE-2025-48976 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free