CVE-2026-140016

Description

A flaw was found in websocket-driver, a protocol handler used for real-time web communications. An unauthenticated remote attacker could exploit this vulnerability by sending a specially crafted sequence of bytes during legacy protocol message parsing. Successful exploitation allows the attacker to duplicate application messages or crash the server, resulting in a Denial of Service (DoS).

Statement

A flaw in the draft75 and draft76 message parsing logic of websocket-driver allows an unauthenticated remote client to send a short crafted byte sequence, leading to application message duplication or server denial of service.

Red Hat Product Security has rated this flaw as Important rather than Critical. Although an unauthenticated remote attacker can exploit malformed draft75/draft76 WebSocket frames to duplicate application messages or crash the server process, the vulnerability does not allow arbitrary code execution, privilege escalation, or host system compromise—and only affects legacy draft WebSocket handshakes rather than standard RFC 6455 connections. As a result, it does not meet Red Hat's criteria for a Critical impact rating.

Mitigation

Configure the WebSocket driver initialization to disable legacy draft protocols by setting `allow_drafts: false` if supported by your installed version, or filter incoming WebSocket upgrade requests at a reverse proxy to reject draft75/draft76 handshakes (requests containing `Sec-WebSocket-Key1`/`Sec-WebSocket-Key2` or lacking `Sec-WebSocket-Version`).

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score9.1N/A9.1
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

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

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

Understanding the Weakness (CWE)

Integrity,Other

Technical Impact: Unexpected State; Quality Degradation; Varies by Context

The execution environment might use unexpected values. The uninitialized data may be invalid, causing logic errors within the program. In some cases, this could result in a security problem.

Frequently Asked Questions

Want to get errata notifications? Sign up here.