CVE-2026-87022

Apache Tomcat: WebSocket message smuggling with per-message-deflate

Published Sep 23, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Improper handling of length parameter inconsistency vulnerability in Apache Tomcat allows WebSocket message smuggling when per-message-deflate is used.



This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.25, from 10.1.0-M1 through 10.1.59, from 9.0.0.M1 through 9.0.121.



The following versions were EOS at the time the CVE was created but are known to be affected: from 8.5.0 through 8.5.100, from 7.0.56 through 7.0.109. Other unsupported versions may also be affected.



Users are recommended to upgrade to version 11.0.26, 10.1.60 or 9.1.22, which fix the issue.

Analysis

AI-generated

Technical impact

Improper handling of the length parameter when per‑message‑deflate compression is enabled in Apache Tomcat can lead to WebSocket message smuggling. The flaw arises from an inconsistency in how the length field of a compressed message is interpreted, allowing an attacker to craft a payload that causes the server to process more data than expected. This can result in the injection of arbitrary data into subsequent frames or the exhaustion of server resources. The weakness corresponds to CWE‑130.

Affected Systems

Affected versions include Apache Tomcat 8.5.0 through 8.5.100, 7.0.56 through 7.0.109, and all supported releases from 9.0.0.M1 to 9.0.121, 10.1.0.M1 to 10.1.59, and 11.0.0‑M1 to 11.0.25. The end‑of‑support versions mentioned are no longer maintained, but their use still poses a risk. Other unsupported Tomcat releases may also be vulnerable if they contain the affected WebSocket handling code.

Risk and Exploitability

Because EPSS data is unavailable, the exploitation likelihood cannot be quantified, but the lack of a KEV listing does not mitigate the potential for abuse. The CVSS score of 7.5 indicates a high severity, yet the mechanism provides a path for remote attackers to send mal‑crafted WebSocket frames that may bypass input validation or exhaust server resources. The attack vector is remote, requiring a reachable WebSocket endpoint with per‑message‑deflate enabled. The risk is assessed as high due to the potential for unauthorized data injection and denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Tomcat 11.0.26, 10.1.60, or 9.1.22, which contain the fix
  • If an upgrade cannot be performed immediately, disable the per‑message‑deflate feature in the server’s WebSocket configuration to eliminate the vulnerable code path
  • Limit exposure of WebSocket endpoints by configuring network‑level controls or firewall rules to restrict who can initiate WebSocket connections and to block suspicious traffic

Generated by OpenCVE AI on September 23, 2026 at 16:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9186-1 Tomcat vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Low

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache tomcat
Vendors & Products Apache
Apache tomcat
Type Values Removed Values Added
Description Improper handling of length parameter inconsistency vulnerability in Apache Tomcat allows WebSocket message smuggling when per-message-deflate is used. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.25, from 10.1.0-M1 through 10.1.59, from 9.0.0.M1 through 9.0.121. The following versions were EOS at the time the CVE was created but are known to be affected: from 8.5.0 through 8.5.100, from 7.0.56 through 7.0.109. Other unsupported versions may also be affected. Users are recommended to upgrade to version 11.0.26, 10.1.60 or 9.1.22, which fix the issue.
Title Apache Tomcat: WebSocket message smuggling with per-message-deflate
Weaknesses CWE-130
References
Weaknesses
  • CWE-130

    Improper Handling of Length Parameter Inconsistency

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 23, 2026, 6:10 PM
Reserved
Sep 8, 2026, 5:16 PM
Status
Awaiting Analysis
Published
Sep 23, 2026, 12:17 PM
Modified
Sep 23, 2026, 7:19 PM
Severity
Low
Public date
Sep 23, 2026, 11:32 AM