---
title: "CVE-2025-24813\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2025-24813?format=md
keywords: index, follow
---

# CVE-2025-24813

Publication date 10 March 2025

Last updated 19 March 2026

---

Ubuntu priority

**High**

[Why this priority?](https://ubuntu.com/security/CVE-2025-24813?format=md#priority-reason )

## Cvss 3 Severity Score

**10.0 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2025-24813?format=md#impact-score)

Toggle side navigation

## Description

Path Equivalence: 'file.Name' (Internal Dot) leading to Remote Code
Execution and/or Information disclosure and/or malicious content added to
uploaded files via write enabled Default Servlet in Apache Tomcat.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.2, from
10.1.0-M1 through 10.1.34, from 9.0.0.M1 through 9.0.98.
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.
If all of the following were true, a malicious user was able to view
security sensitive files and/or inject content into those files:
- writes enabled for the default servlet (disabled by default)
- support for partial PUT (enabled by default)
- a target URL for security sensitive uploads that was a sub-directory of a
target URL for public uploads
- attacker knowledge of the names of security sensitive files
being uploaded
- the security sensitive files also being uploaded via partial PUT
If all of the following were true, a malicious user was able to
perform remote code execution:
- writes enabled for the default servlet (disabled by default)
- support for partial PUT (enabled by default)
- application was using Tomcat's file based session persistence with
the default storage location
- application included a library that may be leveraged in a deserialization
attack
Users are recommended to upgrade to version 11.0.3, 10.1.35 or 9.0.99,
which fixes the issue.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2025-24813?format=md#notes)

### Why is this CVE high priority?

exploit available

[Learn more about Ubuntu priority](https://ubuntu.com/security/cves/about#priority)

## Mitigation

Ubuntu Security team is working on the patch, till patched, do either of the following:
- Disable write access for the servlet: update web.xml with readonly=true
for the default servlet
- Disable support for partial PUT: update web.xml with allowPartialPut=false
for the default servlet

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tomcat10 | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Ignored end of life, was needed |
| 24.04 LTS noble | Fixed 10.1.16-1ubuntu0.1~esm1  Ubuntu Pro |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| tomcat11 | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| tomcat6 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |
| tomcat7 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |
| tomcat8 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| tomcat9 | 26.04 LTS resolute | Fixed 9.0.70-2ubuntu2 |
| 25.10 questing | Fixed 9.0.70-2ubuntu2 |
| 25.04 plucky | Fixed 9.0.70-2ubuntu1.25.04.1 |
| 24.10 oracular | Fixed 9.0.70-2ubuntu1.24.10.1 |
| 24.04 LTS noble | Fixed 9.0.70-2ubuntu0.1+esm1  Ubuntu Pro |
| 22.04 LTS jammy | Fixed 9.0.58-1ubuntu0.2+esm2  Ubuntu Pro |
| 20.04 LTS focal | Fixed 9.0.31-1ubuntu0.9+esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 9.0.16-3ubuntu0.18.04.2+esm6  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [vyomydv](https://launchpad.net/~vyomydv)

Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack,
so those versions are only vulnerable if applications directly use
the affected Tomcat library.

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

10.0 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Changed |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 10.0 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-24813)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-24813)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2025-24813)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2025-24813)

### Related Ubuntu Security Notices (USN)

+ [USN-7525-1](https://usn.ubuntu.com/USN-7525-1)
+ Tomcat vulnerability
+ 21 May 2025

+ [USN-7525-2](https://usn.ubuntu.com/USN-7525-2)
+ Tomcat vulnerability
+ 26 May 2025

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-24813>
* <https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq>
* <http://www.openwall.com/lists/oss-security/2025/03/10/5>
* <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>
