CVE-2025-31651

Publication date 28 April 2025

Last updated 23 November 2026


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

Description

Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat. For a subset of unlikely rewrite rule configurations, it was possible for a specially crafted request to bypass some rewrite rules. If those rewrite rules effectively enforced security constraints, those constraints could be bypassed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.5, from 10.1.0-M1 through 10.1.39, from 9.0.0.M1 through 9.0.102. 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 [FIXED_VERSION], which fixes the issue.

Read the notes from the security team

Status

Package Ubuntu Release Status
tomcat6 26.10 stonking Not in release
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.10 stonking Not in release
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.10 stonking Not in release
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
Vulnerable
16.04 LTS xenial
Vulnerable
tomcat9 26.10 stonking
Not affected
26.04 LTS resolute
Not affected
25.10 questing
Not affected
25.04 plucky
Not affected
24.10 oracular Ignored end of life, was needs-triage
24.04 LTS noble
Not affected
22.04 LTS jammy
Vulnerable
20.04 LTS focal
Vulnerable
18.04 LTS bionic
Vulnerable
tomcat10 26.10 stonking
Not affected
26.04 LTS resolute
Not affected
25.10 questing
Not affected
25.04 plucky
Fixed in 10.1.35-1ubuntu0.1
24.10 oracular Ignored end of life, was needed
24.04 LTS noble
Fixed in 10.1.61~us1-0ubuntu1~24.04.2
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
tomcat11 26.10 stonking
Not affected
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

Notes


ebarretto

From Debian: Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
tomcat10

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.8 · Critical

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

References

Related Ubuntu Security Notices (USN)

    • USN-7705-1
    • Tomcat vulnerabilities
    • 20 August 2025
    • USN-9186-1
    • Tomcat vulnerabilities
    • 23 November 2026

Other references


Access our resources on patching vulnerabilities