CVE-2025-61795
Apache Tomcat: Delayed cleaning of multi-part upload temporary files may lead to DoS
Description
Improper Resource Shutdown or Release vulnerability in Apache Tomcat. If an error occurred (including exceeding limits) during the processing of a multipart upload, temporary copies of the uploaded parts written to disc were not cleaned up immediately but left for the garbage collection process to delete. Depending on JVM settings, application memory usage and application load, it was possible that space for the temporary copies of uploaded parts would be filled faster than GC cleared it, leading to a DoS. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.11, from 10.1.0-M1 through 10.1.46, from 9.0.0.M1 through 9.0.109. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.12 or later, 10.1.47 or later or 9.0.110 or later which fixes the issue.
INFO
Published Date :
Oct. 27, 2025, 6:15 p.m.
Last Modified :
Oct. 8, 2026, 11:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Upgrade Apache Tomcat to version 11.0.12 or later.
- Upgrade Apache Tomcat to version 10.1.47 or later.
- Upgrade Apache Tomcat to version 9.0.110 or later.
Public PoC/Exploit Available at Github
CVE-2025-61795 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-61795.
| URL | Resource |
|---|---|
| https://lists.apache.org/thread/wm9mx8brmx9g4zpywm06ryrtvd3160pp | Mailing List Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/10/27/6 | Mailing List Third Party Advisory |
| https://cert-portal.siemens.com/productcert/html/ssa-032379.html |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-61795 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-61795
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Funzionalità comuni ai progetti GovPay
Java
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-61795 vulnerability anywhere in the article.
-
Daily CyberSecurity
Apache Tomcat Patches URL Rewrite Bypass (CVE-2025-55752) Risking RCE and Console ANSI Injection
The Apache Software Foundation has released multiple security patches for Apache Tomcat, addressing three newly disclosed vulnerabilities — CVE-2025-55752, CVE-2025-55754, and CVE-2025-61795 — affecti ... Read more
The following table lists the changes that have been made to the
CVE-2025-61795 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 08, 2026
Action Type Old Value New Value Added Translation Title: Apache Tomcat de Apache Software Foundation, Description: Vulnerabilidad de cierre o liberación inadecuada de recursos en Apache Tomcat. Si ocurría un error (incluido el exceder límites) durante el procesamiento de una carga multipart, las copias temporales de las partes cargadas escritas en disco no se limpiaban inmediatamente, sino que se dejaban para que el proceso de recolección de basura las eliminara. Dependiendo de la configuración de la JVM, el uso de memoria de la aplicación y la carga de la aplicación, era posible que el espacio para las copias temporales de las partes cargadas se llenara más rápido de lo que el GC lo liberaba, lo que llevaba a un DoS. Este problema afecta a Apache Tomcat: desde 11.0.0-M1 hasta 11.0.11, desde 10.1.0-M1 hasta 10.1.46, desde 9.0.0.M1 hasta 9.0.109. Las siguientes versiones estaban al final de su vida útil (EOL) en el momento en que se creó el CVE, pero se sabe que están afectadas: 8.5.0 hasta 8.5.100. Otras versiones más antiguas y EOL también pueden estar afectadas. Se recomienda a los usuarios actualizar a la versión 11.0.12 o posterior, 10.1.47 o posterior o 9.0.110 o posterior, lo que soluciona el problema. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Apache Software Foundation', 'product': 'Apache Tomcat', 'versions': [{'status': 'affected', 'version': '11.0.0-M1', 'versionType': 'semver', 'lessThanOrEqual': '11.0.11'}, {'status': 'affected', 'version': '10.1.0-M1', 'versionType': 'semver', 'lessThanOrEqual': '10.1.46'}, {'status': 'affected', 'version': '9.0.0.M1', 'versionType': 'semver', 'lessThanOrEqual': '9.0.109'}, {'status': 'affected', 'version': '8.5.0', 'versionType': 'semver', 'lessThanOrEqual': '8.5.100'}, {'status': 'unknown', 'version': '3', 'lessThan': '8.5.0', 'versionType': 'semver'}, {'status': 'unknown', 'version': '10.0.0-M1', 'versionType': 'semver', 'lessThanOrEqual': '10.0.27'}], 'defaultStatus': 'unaffected'}] -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Siemens', 'product': 'SIMATIC CN 4100', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': 'V5.0', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-61795', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2025-10-27T18:48:52.755946Z'} -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
May. 12, 2026
Action Type Old Value New Value Added Reference https://cert-portal.siemens.com/productcert/html/ssa-032379.html -
Initial Analysis by [email protected]
Nov. 14, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 10.0.0 up to (excluding) 10.0.27 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 10.1.0 up to (excluding) 10.1.47 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 11.0.0 up to (excluding) 11.0.12 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 8.5.0 up to (including) 8.5.100 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 9.0.0 up to (excluding) 9.0.110 Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/wm9mx8brmx9g4zpywm06ryrtvd3160pp Types: Mailing List, Vendor Advisory Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2025/10/27/6 Types: Mailing List, Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 04, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/10/27/6 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 27, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H -
New CVE Received by [email protected]
Oct. 27, 2025
Action Type Old Value New Value Added Description Improper Resource Shutdown or Release vulnerability in Apache Tomcat. If an error occurred (including exceeding limits) during the processing of a multipart upload, temporary copies of the uploaded parts written to disc were not cleaned up immediately but left for the garbage collection process to delete. Depending on JVM settings, application memory usage and application load, it was possible that space for the temporary copies of uploaded parts would be filled faster than GC cleared it, leading to a DoS. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.11, from 10.1.0-M1 through 10.1.46, from 9.0.0.M1 through 9.0.109. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.12 or later, 10.1.47 or later or 9.0.110 or later which fixes the issue. Added CWE CWE-404 Added Reference https://lists.apache.org/thread/wm9mx8brmx9g4zpywm06ryrtvd3160pp