Integer Overflow or Wraparound Affecting tomcat9-webapps package, versions <1:9.0.107-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.11% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-TOMCAT9WEBAPPS-11482074
  • published5 Aug 2025
  • disclosed10 Jul 2025

Introduced: 10 Jul 2025

CVE-2025-52520  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 tomcat9-webapps to version 1:9.0.107-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1094.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat9-webapps package and not the tomcat9-webapps package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1