Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. websocket-driver
  4. ›
  5. CVE-2026-54466

CVE-2026-54466: websocket-driver: Message corruption via abuse of protocol length headers

July 15, 2026

The frame format in draft versions of the WebSocket protocol includes a length header that allows an arbitrarily large integer to be encoded as a sequence of bytes with the high bit set. By sending an indefinite sequence of bytes with values 0x80 or above, a client can make the server parse these bytes into an ever-growing integer. Since JavaScript numbers are 64-bit floating point values, this number will eventually lose precision and lead to the subsequent payload being parsed incorrectly.

References

  • github.com/advisories/GHSA-xv26-6w52-cph6
  • github.com/faye/websocket-driver-node/releases/tag/0.7.5
  • github.com/faye/websocket-driver-node/security/advisories/GHSA-xv26-6w52-cph6
  • nvd.nist.gov/vuln/detail/CVE-2026-54466

Code Behaviors & Features

Detect and mitigate CVE-2026-54466 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.7.5

Fixed versions

  • 0.7.5

Solution

Upgrade to version 0.7.5 or above.

Impact 8.6 HIGH

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

Learn more about CVSS

Weakness

  • CWE-130: Improper Handling of Length Parameter Inconsistency

Source file

npm/websocket-driver/CVE-2026-54466.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:12 +0000.