websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, a bug in the draft75 and draft76 message parser mishandles a short crafted byte sequence. An unauthenticated remote client can send this sequence over a legacy WebSocket connection, causing a received message to be emitted twice or causing the server process to crash. This issue is fixed in version 0.8.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-248",
"CWE-456"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140004.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "f9f657c823ff826dc4bccda4c603ee076c089bd7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}