CVE-2026-48779
ws: Memory exhaustion DoS from tiny fragments and data chunks
Check your servers for CVE-2026-48779
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-48779 affects ws, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
ws is an open source WebSocket client and server for Node.js. All versions from 1.1.0 up to (but not including) 5.2.5, from 6.0.0 up to 6.2.4, from 7.0.0 up to 7.5.11, and from 8.0.0 up to 8.21.0 are affected by a memory exhaustion DoS vulnerability. A peer can send a high volume of exceptionally small fragments and data chunks, 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. This issue has been fixed in versions 5.2.5, 6.2.4, 7.5.11, and 8.21.0.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 77.1% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 17 Jun 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-400 Uncontrolled Resource Consumption
- CWE-770 Allocation of Resources Without Limits or Throttling
- CWE-1050 Excessive Platform Resource Consumption within a Loop
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| ws |
affected >= 1.1.0, < 5.2.5 affected >= 6.0.0, < 6.2.4 affected >= 7.0.0, < 7.5.11 affected >= 8.0.0, < 8.21.0
|
Is my server affected?
Find the installed version of ws and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ws
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-48779 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-48779RHEL, Rocky, Alma, Fedora
rpm -q ws
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-48779Alpine
apk list --installed | grep -i wsWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-48779
trivy image --scanners vuln IMAGE | grep CVE-2026-48779
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2026-48779 access.redhat.com · vdb entry
- RHBZ#2489661 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:48151 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:34342 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:57590 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:66545 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:66488 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:36754 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33574 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:29197 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:41928 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:65126 access.redhat.com · vendor advisory
14 more
- https://access.redhat.com/errata/RHSA-2026:60520 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:36820 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33155 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33160 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33163 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33173 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:33183 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:56431 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:41941 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:41944 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:56366 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:57013 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40984 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:37272 access.redhat.com · vendor advisory
Exploits and proof of concept
- https://github.com/websockets/ws/security/advisories/GHSA-96hv-2xvq-fx4p github.com · exploit
Other references
- https://github.com/websockets/ws/commit/86d3e8a5fb0246ed373860c5fbb0de88824a27f7 github.com
- https://github.com/websockets/ws/commit/b5372ac67bb97a773727b8e9f5035a8123556d53 github.com
- https://github.com/websockets/ws/commit/bca91adf15677e47dbe4f959653452727be28b94 github.com
- https://github.com/websockets/ws/commit/fd36cd864fcdf62a08273a99e19a7d975401fee8 github.com
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48779.json security.access.redhat.com
Source: the record CVE-2026-48779 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse