Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ws
  4. ›
  5. CVE-2026-48779

CVE-2026-48779: ws: Memory exhaustion DoS from tiny fragments and data chunks

June 15, 2026

A high volume of exceptionally small fragments and data chunks can be sent by a peer, with modest network traffic, to force the remote peer into allocating and holding structural wrappers that consume far more memory than the default documented message-size limit, leading to process termination due to OOM.

References

  • github.com/advisories/GHSA-96hv-2xvq-fx4p
  • github.com/websockets/ws/commit/86d3e8a5fb0246ed373860c5fbb0de88824a27f7
  • github.com/websockets/ws/commit/b5372ac67bb97a773727b8e9f5035a8123556d53
  • github.com/websockets/ws/commit/bca91adf15677e47dbe4f959653452727be28b94
  • github.com/websockets/ws/commit/fd36cd864fcdf62a08273a99e19a7d975401fee8
  • github.com/websockets/ws/security/advisories/GHSA-96hv-2xvq-fx4p
  • nvd.nist.gov/vuln/detail/CVE-2026-48779

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.1.0 before 5.2.5, all versions starting from 6.0.0 before 6.2.4, all versions starting from 7.0.0 before 7.5.11, all versions starting from 8.0.0 before 8.21.0

Fixed versions

  • 5.2.5
  • 6.2.4
  • 7.5.11
  • 8.21.0

Solution

Upgrade to versions 5.2.5, 6.2.4, 7.5.11, 8.21.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/ws/CVE-2026-48779.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 16 Jun 2026 12:17:49 +0000.