Skip to main content

Tomcat CVE-2025-52520

| EUVDEUVD-2025-21044 HIGH
Integer Overflow or Wraparound (CWE-190)
2025-07-10 security@apache.org GHSA-wr62-c79q-cv37
High
Disputed · 7.5 NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 7.5 (High) with AV:N/AC:L/PR:N/UI:N indicates this is remotely exploitable without authentication or user interaction, and attacks are highly likely to succeed due to low attack complexity. The vulnerability specifically requires 'unlikely configurations' of multipart uploads, which slightly reduces real-world applicability but does not eliminate risk for affected deployments. Without publicly disclosed EPSS probability data in the provided intelligence, the network-accessible, unauthenticated attack vector combined with the integer overflow root cause (a well-understood primitive) suggests moderate-to-high exploitation probability post-disclosure. The integrity impact is None and confidentiality impact is None, with only Availability heavily impacted (DoS), limiting business impact to service disruption rather than data breach. Organizations running affected Tomcat versions with multipart upload functionality enabled should prioritize patching based on internet exposure and service criticality; internal-only Tomcat instances present lower risk but should still be remediated within standard patch cycles.

Exploit ScenarioDerived

An attacker identifies a Tomcat instance with multipart upload enabled (e.g., a file upload web application running on affected Tomcat versions). The attacker crafts a malicious HTTP POST request with Content-Type: multipart/form-data and manipulates the size fields (Content-Length or individual part headers) in a way that causes integer overflow when Tomcat performs arithmetic validation. For example, if the size validation code performs: total_size = part1_size + part2_size, an attacker could set part1_size=2147483647 and part2_size=100 on a 32-bit integer system, causing wraparound. This bypasses the configured maxPostSize limit (typically 2MB), allowing upload of arbitrarily large payloads. The oversized upload consumes server memory and CPU, causing Tomcat to become unresponsive and triggering denial of service for legitimate users. Attack complexity is low—the attacker needs only standard HTTP client tools and no prior authentication—making this a practical attack vector for any unpatched Tomcat instance exposed to the internet.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 16, 2026

CVE-2025-52520 is an integer overflow vulnerability in Apache Tomcat's multipart upload handling that allows unauthenticated remote attackers to bypass size limits and trigger denial of service. The vulnerability affects Tomcat versions 11.0.0-M1 through 11.0.8, 10.1.0-M1 through 10.1.42, 9.0.0.M1 through 9.0.106, and EOL version 8.5.0 through 8.5.100, requiring only network access with no authentication. With a CVSS score of 7.5 (High severity) and an attack vector rated as Network/Low complexity, this represents a significant availability risk for unpatched deployments.

RemediationAI

Upgrade to patched versions; details: ['Upgrade to Apache Tomcat 11.0.9 or later for 11.x branch', 'Upgrade to Apache Tomcat 10.1.43 or later for 10.1.x branch', 'Upgrade to Apache Tomcat 9.0.107 or later for 9.0.x branch', 'Note: Version 8.5.x is EOL; consider migrating to supported versions rather than applying backports'] Workaround: Reduce attack surface if patching is delayed; details: ['Disable multipart form upload handling if not required by application', 'Implement strict Content-Length validation at reverse proxy/load balancer level before traffic reaches Tomcat', 'Configure firewall rules to restrict POST requests with multipart/form-data content type to trusted sources only', 'Monitor access logs for unusually large Content-Length headers in POST requests'] Vendor Advisory: Consult official Apache Tomcat security documentation; details: Refer to Apache Tomcat Security Documentation and release notes for versions 11.0.9, 10.1.43, and 9.0.107 for detailed patch information and changelog entries related to CVE-2025-52520

Affected VersionsENISA

Apache Tomcat 8.5.0 ≤8.5.100
Apache Tomcat 9.0.0.M1 ≤9.0.106
Apache Tomcat 10.1.0-M1 ≤10.1.42
Apache Tomcat 11.0.0-M1 ≤11.0.8

Affected Packages

maven org.apache.tomcat.embed:tomcat-embed-core fix: 9.0.107, 10.1.43, 11.0.9
maven org.apache.tomcat:tomcat-catalina fix: 9.0.107, 10.1.43, 11.0.9
euvd apache_tomcat no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in Apache Tomcat's multipart form data upload processing mechanism (typically invoked via HTTP POST requests with Content-Type: multipart/form-data). The root cause is CWE-190 (Integer Overflow or Wraparound), where integer arithmetic operations on Content-Length or chunk size calculations fail to properly validate boundaries before multiplication or addition, causing wraparound to smaller values. This allows attackers to bypass configured maxPostSize or maxFileSize limits by crafting multipart requests with specially crafted size headers that overflow during integer calculations. The affected CPE would be cpe:2.3:a:apache:tomcat, with specific version ranges: 11.0.0-M1 through 11.0.8, 10.1.0-M1 through 10.1.42, 9.0.0.M1 through 9.0.106, and unsupported 8.5.0-8.5.100.

Know when Tomcat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu MEDIUM
SUSE HIGH
Red Hat 3.7 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Jul 10, 2025 - 19:15 nvd
HIGH 7.5

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 maven packages depend on org.apache.tomcat.embed:tomcat-embed-core (2 direct, 0 indirect)
  • 2 maven packages depend on org.apache.tomcat:tomcat-catalina (2 direct, 0 indirect)

Ecosystem-wide dependent count for version 11.0.0-M1 and other introduced versions.

Executive ViewAI

Why It Matters

Apache Tomcat instances are vulnerable to a denial-of-service attack through integer overflow in multipart upload handling, potentially allowing attackers to bypass file size restrictions and overwhelm affected systems. Organizations running Tomcat versions 9.x, 10.x, or 11.x should prioritize assessment and patching to prevent service disruption.

Business Impact: Medium
Compensating Controls

Disable multipart upload functionality if not business-critical; implement Web Application Firewall rules to restrict multipart POST request sizes and reject requests exceeding thresholds; apply network-level rate limiting to POST requests; implement request filtering to block oversized Content-Length headers; segment affected systems to limit blast radius of DoS attacks; monitor Tomcat access logs for suspicious multipart upload patterns.

Threat Intelligence Overview

EPSS Score
0.1%
Top 67% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Tomcat

View all
CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2023-47246 CRITICAL POC
9.8 Nov 10

In SysAid On-Premise before 23.3.36, a path traversal vulnerability leads to code execution after an attacker writes a f

CVE-2016-8735 CRITICAL POC
9.8 Apr 06

Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8

CVE-2017-12615 HIGH POC
8.1 Sep 19

When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. Rated high severity (CVSS 8.1), this

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2019-0232 HIGH POC
8.1 Apr 15

When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0

CVE-2014-0050 HIGH POC
7.5 Apr 01

MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other products,

CVE-2020-13935 HIGH POC
7.5 Jul 14

The payload length in a WebSocket frame was not correctly validated in Apache Tomcat 10.0.0-M1 to 10.0.0-M6, 9.0.0.M1 to

CVE-2018-11784 MEDIUM POC
4.3 Oct 04

When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r

CVE-2022-29885 HIGH POC
7.5 May 12

The documentation of Apache Tomcat 10.1.0-M1 to 10.1.0-M14, 10.0.0-M1 to 10.0.20, 9.0.13 to 9.0.62 and 8.5.38 to 8.5.78

CVE-2017-12616 HIGH
7.5 Sep 19

When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or

Vendor StatusVendor

Ubuntu

Priority: Medium
tomcat10
Release Status Version
jammy DNE -
noble needed -
upstream released 10.1.43
plucky ignored end of life, was needed
questing needed -
tomcat11
Release Status Version
jammy DNE -
noble DNE -
plucky DNE -
upstream released 11.0.9
questing needed -
tomcat9
Release Status Version
noble not-affected 9.0.70-2ubuntu0.1
plucky not-affected -
upstream released 9.0.70-2
bionic needed -
focal needed -
jammy needed -
questing not-affected -

Debian

Bug #1109112
tomcat10
Release Status Fixed Version Urgency
bookworm fixed 10.1.52-1~deb12u1 -
bookworm (security) fixed 10.1.52-1~deb12u1 -
trixie (security), trixie fixed 10.1.52-1~deb13u1 -
forky, sid fixed 10.1.52-1 -
trixie fixed 10.1.52-1~deb13u1 -
(unstable) fixed 10.1.46-1 -
tomcat11
Release Status Fixed Version Urgency
trixie (security), trixie fixed 11.0.15-1~deb13u1 -
forky, sid fixed 11.0.18-1 -
trixie fixed 11.0.15-1~deb13u1 -
(unstable) fixed 11.0.11-1 -
tomcat9
Release Status Fixed Version Urgency
bullseye fixed 9.0.107-0+deb11u1 -
bullseye (security) fixed 9.0.107-0+deb11u2 -
bookworm fixed 9.0.70-2 -
trixie fixed 9.0.95-1 -
forky, sid fixed 9.0.115-1 -
(unstable) fixed 9.0.70-2 -

SUSE

Severity: High
Product Status
Container suse/manager/5.0/x86_64/server:5.0.5.1.7.33.2 Container suse/multi-linux-manager/5.1/x86_64/server:5.1.1.8.7.1 Image SLES15-SP4-Manager-Server-4-3-BYOS Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure Image SLES15-SP4-Manager-Server-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE Affected
SUSE Enterprise Storage 7.1 Fixed
SUSE Liberty Linux 8 Fixed
SUSE Liberty Linux 9 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS Fixed

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2025:11695 ADVISORY https://access.redhat.com/errata/RHSA-2025:11696 ADVISORY https://access.redhat.com/errata/RHSA-2025:13685 ADVISORY https://access.redhat.com/errata/RHSA-2025:13686 ADVISORY https://access.redhat.com/errata/RHSA-2025:14177 ADVISORY https://access.redhat.com/errata/RHSA-2025:14178 ADVISORY https://access.redhat.com/errata/RHSA-2025:14179 ADVISORY https://access.redhat.com/errata/RHSA-2025:14180 ADVISORY https://access.redhat.com/errata/RHSA-2025:14181 ADVISORY https://access.redhat.com/errata/RHSA-2025:14182 ADVISORY https://access.redhat.com/errata/RHSA-2025:14183 ADVISORY https://github.com/apache/tomcat/commit/927d66fbc294cb65242102b817a45fd80834e040 ADVISORY https://github.com/apache/tomcat/commit/a51e4bedccfafd35b7cdd0ee3e22267dee9f90db ADVISORY https://github.com/apache/tomcat/commit/fc42bbccb9041fafd194fbfdf3eab1d44cb5c45c ADVISORY https://lists.apache.org/thread/trqq01bbxw6c92zx69kx2mw2qgmfy0o5 ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2025-52520 ADVISORY https://security-tracker.debian.org/tracker/dla-4244-1 ADVISORY https://security-tracker.debian.org/tracker/dsa-6120-1 ADVISORY https://security-tracker.debian.org/tracker/dsa-6121-1 ADVISORY https://www.herodevs.com/vulnerability-directory/cve-2025-52520 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02745/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02978/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02979/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03024/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1058/ REF http://www.openwall.com/lists/oss-security/2025/07/10/12 REF https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy