{"id":"CVE-2025-61795","aliases":["CVE-2025-61795","GHSA-hgrr-935x-pq79","BIT-TOMCAT-2025-61795"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Tomcat: Delayed cleaning of multi-part upload temporary files may lead to DoS","summary":"Improper Resource Shutdown or Release vulnerability in Apache Tomcat.\n\nIf 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.\n\n\n\nThis 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.\n\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.\nUsers 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Resource Shutdown or Release vulnerability in Apache Tomcat.\n\nIf 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.\n\n\n\nThis 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.\n\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.\nUsers 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.","source":"cvelist"},{"lang":"en","text":"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.\n\nThis 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.\n\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.\nUsers 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vulnerabilidad de cierre o liberación inadecuada de recursos en Apache Tomcat.\n\nSi 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.\n\nEste 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.\n\nLas 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.\nSe 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.","source":"nvd"},{"lang":"en","text":"Improper Resource Shutdown or Release vulnerability in Apache Tomcat.\n\nIf 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.\n\n\n\nThis issue affects Apache Tomcat: from 11.0.0 through 11.0.11, from 10.1.0 through 10.1.46, from 9.0.0 through 9.0.109.\n\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.\nUsers 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.","format":"markdown","source":"bitnami"}],"published":"2025-10-27T17:30:28.334Z","modified":"2026-10-16T09:45:33.420Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-404"],"affected":[{"ranges":[{"type":"semver","introduced":"11.0.0-M1","lastAffected":"11.0.11","status":"affected"},{"type":"semver","introduced":"10.1.0-M1","lastAffected":"10.1.46","status":"affected"},{"type":"semver","introduced":"9.0.0.M1","lastAffected":"9.0.109","status":"affected"},{"type":"semver","introduced":"8.5.0","lastAffected":"8.5.100","status":"affected"},{"type":"semver","introduced":"3","fixed":"8.5.0","status":"unknown"},{"type":"semver","introduced":"10.0.0-M1","lastAffected":"10.0.27","status":"unknown"}],"vendor":"Apache Software Foundation","product":"Apache Tomcat","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0-M1","status":"affected","fixed":"11.0.12"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.1.0-M1","status":"affected","fixed":"10.1.47"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0.M1","status":"affected","fixed":"9.0.110"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.0","status":"affected","lastAffected":"8.5.100"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0-M1","status":"affected","fixed":"11.0.12"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.1.0-M1","status":"affected","fixed":"10.1.47"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0.M1","status":"affected","fixed":"9.0.110"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.0","status":"affected","lastAffected":"8.5.100"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0-M1","status":"affected","fixed":"11.0.12"}],"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.1.0-M1","status":"affected","fixed":"10.1.47"}],"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0.M1","status":"affected","fixed":"9.0.110"}],"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.0","status":"affected","lastAffected":"8.5.100"}],"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"8.5.0","lastAffected":"8.5.100"},{"status":"affected","introduced":"9.0.0","fixed":"9.0.110"},{"status":"affected","introduced":"10.0.0","fixed":"10.0.27"},{"status":"affected","introduced":"10.1.0","fixed":"10.1.47"},{"status":"affected","introduced":"11.0.0","fixed":"11.0.12"}],"vendor":"apache","product":"tomcat","cpe":"cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"9.0.110"},{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.1.47"},{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.0.12"}],"ecosystem":"Bitnami","package":"tomcat","purl":"pkg:bitnami/tomcat","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/wm9mx8brmx9g4zpywm06ryrtvd3160pp","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/27/6","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61795","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/tomcat/commit/1cdf5f730ede75a0759492f179ac21ca4ff68e06","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/af6e9181620304c0d818121c29c074e1330610d0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/afa422bd7ca1eef0f507259c682fd876494d9c3b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat","tags":["package"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.47","tags":["web"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.12","tags":["web"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.110","tags":["web"],"sources":["ghsa"]}],"credits":["sw0rd1ight (https://github.com/sw0rd1ight)"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-27T18:48:52.755Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-61795","url":"https://www.cve.org/CVERecord?id=CVE-2025-61795","licence":"CVE Terms of Use","modified":"2026-05-12T12:08:33.715Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hgrr-935x-pq79","url":"https://github.com/advisories/GHSA-hgrr-935x-pq79","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:30.251Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-61795","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61795","licence":"Public domain","modified":"2026-10-08T11:10:00.250Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TOMCAT-2025-61795","url":"https://osv.dev/vulnerability/BIT-TOMCAT-2025-61795","licence":"Apache-2.0","modified":"2026-10-16T09:45:33.420Z"}],"updatedAt":"2026-11-25T22:59:06.890Z","epss":{"score":0.01278,"percentile":0.70812,"date":"2026-12-01T12:00:22.000Z"}}