Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven
Not in CISA KEV
CRITICAL severity

GHSA-vfww-5hm6-hx2j

CRITICALFix: apache/tomcat@138d7f5

GHSA-vfww-5hm6-hx2j is a critical-severity (CVSS 9.6) CWE-150 vulnerability in org.apache.tomcat:tomcat. O3 Security confirms whether GHSA-vfww-5hm6-hx2j is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

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

Also known asBIT-tomcat-2025-55754CVE-2025-55754
Published
Oct 27, 2025
Updated
May 13, 2026
Affected
12 pkgs
Patched
9 / 12
Exploits
None indexed
Exploitation data as of May 13, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Real-World Exposure

12 pkgs affected
org.apache.tomcat:tomcatorg.apache.tomcat:tomcatorg.apache.tomcat:tomcatorg.apache.tomcat:tomcatorg.apache.tomcat.embed:tomcat-embed-coreorg.apache.tomcat.embed:tomcat-embed-coreorg.apache.tomcat.embed:tomcat-embed-coreorg.apache.tomcat.embed:tomcat-embed-core+4 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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 Packages

12 total 9 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.apache.tomcat:tomcat11.0.0-M1&&< 11.0.1111.0.11
Mavenorg.apache.tomcat:tomcat10.1.0-M1&&< 10.1.4510.1.45
Mavenorg.apache.tomcat:tomcat9.0.40&&< 9.0.1099.0.109
Mavenorg.apache.tomcat:tomcat8.5.60No fix
Mavenorg.apache.tomcat.embed:tomcat-embed-core11.0.0-M1&&< 11.0.1111.0.11
Mavenorg.apache.tomcat.embed:tomcat-embed-core10.1.0-M1&&< 10.1.4510.1.45

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.tomcat:tomcat. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.apache.tomcat:tomcat to 11.0.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vfww-5hm6-hx2j is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-vfww-5hm6-hx2j is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-vfww-5hm6-hx2j. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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 1
O3 Security · Impact-Aware SCA

Is GHSA-vfww-5hm6-hx2j in your dependencies?

O3 detects GHSA-vfww-5hm6-hx2j across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

GHSA-vfww-5hm6-hx2j: tomcat (Critical 9.6) | O3 Security