CVE-2025-55754: Apache Tomcat: console manipulation via escape sequences in log messages
Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.apache.tomcat:tomcat-catalinato a version that resolves this vulnerability.Fixed in 9.0.109 - Upgrade
Upgrade
maven/org.apache.tomcat.embed:tomcat-embed-coreto a version that resolves this vulnerability.Fixed in 9.0.109 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcatto a version that resolves this vulnerability.Fixed in 9.0.109 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcat-catalinato a version that resolves this vulnerability.Fixed in 10.1.45 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcat-catalinato a version that resolves this vulnerability.Fixed in 11.0.11 - Upgrade
Upgrade
maven/org.apache.tomcat.embed:tomcat-embed-coreto a version that resolves this vulnerability.Fixed in 10.1.45 - Upgrade
Upgrade
maven/org.apache.tomcat.embed:tomcat-embed-coreto a version that resolves this vulnerability.Fixed in 11.0.11 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcatto a version that resolves this vulnerability.Fixed in 10.1.45 - Upgrade
Upgrade
maven/org.apache.tomcat:tomcatto a version that resolves this vulnerability.Fixed in 11.0.11 - Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 11.0.11 - Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 10.1.45 - Upgrade
Upgrade
Apache Tomcatto a version that resolves this vulnerability.Fixed in 9.0.109 - Compensating control
If Tomcat is running on Windows in a console that supports ANSI escape sequences, consider disabling/restricting ANSI escape sequence support in that console environment to reduce risk of console/clipboard manipulation via crafted URLs.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-55754?
The severity of CVE-2025-55754 is classified as medium due to improper neutralization of escape sequences in log messages.
How do I fix CVE-2025-55754?
To fix CVE-2025-55754, upgrade to Apache Tomcat version 11.0.11 or later, 10.1.45 or later, or 9.0.109 or later.
What versions of Apache Tomcat are affected by CVE-2025-55754?
CVE-2025-55754 affects Apache Tomcat versions from 8.5.60 to 8.5.100, as well as 9.0.40 to 9.0.108, 10.1.0-M1 to 10.1.44, and 11.0.0-M1 to 11.0.10.
What is the impact of CVE-2025-55754 on users?
The impact of CVE-2025-55754 allows potentially malicious ANSI escape sequences to be processed and displayed in console logs, posing a risk to information exposure.
Is CVE-2025-55754 exploitable remotely?
CVE-2025-55754 is not directly exploitable remotely as it relies on specific conditions in the console environment where Tomcat runs.