Intel

AIKIDO-2026-625161

websockets is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 18, 2026
September 18, 2026

53

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The permessage-deflate extension flushes a final empty block after decompressing a fragmented, compressed message of at least 2044 bytes, and discards any bytes produced by that flush without checking them against max_size. A crafted compressed message can make the connection accept more decompressed data than the configured message size limit allows. The decoder also does not reject continuation frames with the RSV1 bit set, letting a peer desynchronize the decompressor state. The fix checks the flush output against max_size and rejects RSV1 on continuation frames.

How do I fix this?

Upgrade the websockets library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the connection negotiates the permessage-deflate extension.

Package

Versions

4.0 - 16.0

Fixed in 16.1

Background info

websockets is vulnerable to Denial of Service (DoS) in versions 4.0 - 16.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea