CVEfocus › CVE database › CVE-2025-52520

CVE-2025-52520Apache Tomcat: DoS via integer overflow in multipart file upload

CVSS 7.5 HighEPSS 2.1% (higher than 82% of CVEs)Published 2025-07-10Updated 2025-11-04Assigner: apache

For some unlikely configurations of multipart upload, an Integer Overflow vulnerability in Apache Tomcat could lead to a DoS via bypassing of size limits. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.8, from 10.1.0-M1 through 10.1.42, from 9.0.0.M1 through 9.0.106. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 through 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.9, 10.1.43 or 9.0.107, which fix the issue.

CWE-190

What to do

Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

72Fixed
30Fix pending
5Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04tomcat10Fixed10.1.61~us1-0ubuntu1~26.04.1UBUNTU-CVE-2025-52520
Ubuntu 26.04tomcat9Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat10Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries…
UBUNTU-CVE-2025-52520
Ubuntu 25.10tomcat11Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries…
UBUNTU-CVE-2025-52520
Ubuntu 25.10tomcat9Not affected
vulnerable_code_not_present
Ubuntu 24.04tomcat10Fixed10.1.61~us1-0ubuntu1~24.04.2UBUNTU-CVE-2025-52520
Ubuntu 22.04tomcat9Fix pendingUBUNTU-CVE-2025-52520
Ubuntu 20.04tomcat9Fix pendingUBUNTU-CVE-2025-52520
Ubuntu 18.04tomcat8Fix pendingUBUNTU-CVE-2025-52520
Ubuntu 18.04tomcat9Fix pendingUBUNTU-CVE-2025-52520
Ubuntu 16.04tomcat6Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries…
Ubuntu 16.04tomcat7Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries…
UBUNTU-CVE-2025-52520
Ubuntu 16.04tomcat8Will not fix
xenial tomcat6 only builds libservlet2.5-java, not the Tomcat server binaries bionic tomcat7 only builds libservlet3.0-java, not the Tomcat server binaries…
UBUNTU-CVE-2025-52520
Ubuntu 14.04tomcat6Fix pendingUBUNTU-CVE-2025-52520
Ubuntu 14.04tomcat7Fix pendingUBUNTU-CVE-2025-52520
Debian 14tomcat10Fixed10.1.46-1DEBIAN-CVE-2025-52520
Debian 14tomcat11Fixed11.0.11-1DEBIAN-CVE-2025-52520
Debian 14tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-52520
Debian 13tomcat10Fixed10.1.52-1~deb13u1DEBIAN-CVE-2025-52520
Debian 13tomcat11Fixed11.0.15-1~deb13u1DEBIAN-CVE-2025-52520
Debian 13tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-52520
Debian 12tomcat10Fixed10.1.52-1~deb12u1DEBIAN-CVE-2025-52520
Debian 12tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-52520
Red Hat Enterprise Linux 10tomcatFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-admin-webappsFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-docs-webappFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-el-5.0-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-jsp-3.1-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-libFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-servlet-6.0-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-webappsFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat9Fixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-admin-webappsFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-docs-webappFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-el-3.0-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-jsp-2.3-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-libFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-servlet-4.0-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-webappsFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 9pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 9tomcatFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 8pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 8pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 8tomcatFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 7tomcatFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-admin-webappsFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-docs-webappFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-el-2.2-apiFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-jsvcFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-libFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-webappsFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6Fix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-admin-webappsFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-docs-webappFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-libFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-log4jFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6-webappsFix pending
Fix deferred
AlmaLinux 10tomcat9Fixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-admin-webappsFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-docs-webappFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-el-3.0-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-jsp-2.3-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-libFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-servlet-4.0-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-webappsFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 9tomcatFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-admin-webappsFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-docs-webappFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-el-3.0-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-jsp-2.3-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-libFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-servlet-4.0-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-webappsFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 8tomcatFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-libFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-webappsFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
Rocky Linux 10tomcatFixed1:10.1.36-1.el10_0.2RLSA-2025:14179
Rocky Linux 10tomcat9Fixed1:9.0.87-5.el10_0.3RLSA-2025:14178
Rocky Linux 9tomcatFixed1:9.0.87-3.el9_6.3RLSA-2025:14181
Rocky Linux 8tomcatFixed1:9.0.87-1.el8_10.6RLSA-2025:14177
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed11.0.9GHSA-wr62-c79q-cv37
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed11.0.9GHSA-wr62-c79q-cv37

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.