Description
Versions of ws prior to 1.0.1 are affected by a remote memory disclosure vulnerability.
In certain rare circumstances, applications which allow users to control the arguments of a client.ping() call will cause ws to send the contents of an allocated but non-zero-filled buffer to the server.
Recommendation
Update the ws package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.0.1
- Patched version(s): 1.0.1
References
Related Issues
- ws: Uninitialized memory disclosure - CVE-2026-45736
- @sveltejs/kit has memory amplification DoS vulnerability in Remote Functions binary form deserializer (application/x-sve - CVE-2026-22803
- DoS due to excessively large websocket message in ws - CVE-2016-10542
- LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern - CVE-2026-33287
You might also like:
- Tags:
- npm
- ws
Anything's wrong? Let us know Last updated on September 18, 2023


