GHSA-xv26-6w52-cph6

Suggest an improvement
Source
https://github.com/advisories/GHSA-xv26-6w52-cph6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-xv26-6w52-cph6/GHSA-xv26-6w52-cph6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xv26-6w52-cph6
Aliases
Downstream
Related
Published
2026-07-15T22:07:24Z
Modified
2026-07-21T14:59:37.882111758Z
Severity
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N CVSS Calculator
Summary
websocket-driver: Message corruption via abuse of protocol length headers
Details

Impact

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.

Patches

The issue has been patched in version 0.7.5 by rejecting the message if the length header exceeds the configured maximum message length. All users should upgrade to this version.

Workarounds

No known workarounds exist.

Acknowledgements

This issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2026-07-15T22:07:24Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-130"
    ]
}
References

Affected packages

npm / websocket-driver

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-xv26-6w52-cph6/GHSA-xv26-6w52-cph6.json"