Loading...
Skip to main content

CVE-2025-55754

LOW

Apache Tomcat Vulnerable to Improper Neutralization of Escape, Meta, or Control Sequences

Published October 27, 2025Updated May 13, 2026Source: osv

Summary

Tomcat did not escape ANSI escape sequences in log messages. If Tomcat was running in a console on a Windows operating system, and the console supported ANSI escape sequences, it was possible for an attacker to use a specially crafted URL to inject ANSI escape sequences to manipulate the console and the clipboard and attempt to trick an administrator into running an attacker controlled command. While no attack vector was found, it may have been possible to mount this attack on other operating systems. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.10, from 10.1.0-M1 through 10.1.44, from 9.0.40 through 9.0.108. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.60 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.11 or later, 10.1.45 or later or 9.0.109 or later, which fix the issue.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 11.0.11 or later
<!-- Update pom.xml dependency version to 11.0.11 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat:tomcat to 9.0.109 or later
<!-- Update pom.xml dependency version to 9.0.109 for org.apache.tomcat:tomcat -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 9.0.109 or later
<!-- Update pom.xml dependency version to 9.0.109 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat:tomcat to 11.0.11 or later
<!-- Update pom.xml dependency version to 11.0.11 for org.apache.tomcat:tomcat -->
Maven
Update org.apache.tomcat:tomcat to 10.1.45 or later
<!-- Update pom.xml dependency version to 10.1.45 for org.apache.tomcat:tomcat -->
Maven
Update org.apache.tomcat:tomcat-catalina to 10.1.45 or later
<!-- Update pom.xml dependency version to 10.1.45 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat:tomcat-catalina to 9.0.109 or later
<!-- Update pom.xml dependency version to 9.0.109 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat.embed:tomcat-embed-core to 10.1.45 or later
<!-- Update pom.xml dependency version to 10.1.45 for org.apache.tomcat.embed:tomcat-embed-core -->
Maven
Update org.apache.tomcat:tomcat-catalina to 11.0.11 or later
<!-- Update pom.xml dependency version to 11.0.11 for org.apache.tomcat:tomcat-catalina -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (12)

PackageEcosystemAffectedFixed In
org.apache.tomcat:tomcat
maven
8.5.100, 8.5.60, 8.5.61, 8.5.63 (+33 more)Range-based data available
org.apache.tomcat.embed:tomcat-embed-core
maven
11.0.0, 11.0.0-M1, 11.0.0-M10, 11.0.0-M11 (+30 more)11.0.11
org.apache.tomcat:tomcat
maven
9.0.100, 9.0.102, 9.0.104, 9.0.105 (+54 more)9.0.109
org.apache.tomcat.embed:tomcat-embed-core
maven
9.0.100, 9.0.102, 9.0.104, 9.0.105 (+54 more)9.0.109
org.apache.tomcat:tomcat
maven
11.0.0, 11.0.0-M1, 11.0.0-M10, 11.0.0-M11 (+30 more)11.0.11
org.apache.tomcat:tomcat
maven
10.1.0, 10.1.0-M1, 10.1.0-M10, 10.1.0-M11 (+48 more)10.1.45
org.apache.tomcat:tomcat-catalina
maven
10.1.0, 10.1.0-M1, 10.1.0-M10, 10.1.0-M11 (+48 more)10.1.45
org.apache.tomcat:tomcat-catalina
maven
8.5.100, 8.5.60, 8.5.61, 8.5.63 (+33 more)Range-based data available
org.apache.tomcat:tomcat-catalina
maven
9.0.100, 9.0.102, 9.0.104, 9.0.105 (+54 more)9.0.109
org.apache.tomcat.embed:tomcat-embed-core
maven
10.1.0, 10.1.0-M1, 10.1.0-M10, 10.1.0-M11 (+48 more)10.1.45
org.apache.tomcat:tomcat-catalina
maven
11.0.0, 11.0.0-M1, 11.0.0-M10, 11.0.0-M11 (+30 more)11.0.11
org.apache.tomcat.embed:tomcat-embed-core
maven
8.5.100, 8.5.60, 8.5.61, 8.5.63 (+33 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2025-55754?
Apache Tomcat Vulnerable to Improper Neutralization of Escape, Meta, or Control Sequences This vulnerability has been assigned a severity rating of LOW (CVSS score: 9.6/10).
How do I check if my project is affected by CVE-2025-55754?
CVE-2025-55754 affects org.apache.tomcat:tomcat, org.apache.tomcat.embed:tomcat-embed-core and org.apache.tomcat:tomcat-catalina. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-55754 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-vfww-5hm6-hx2j
BIT-tomcat-2025-55754

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies