{"answers":{"affected":"8 open source packages ship an affected version, including ws. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48779 exists.","fix":"Upgrade ws to a fixed version for your release line: 5.2.5, 6.2.4, 7.5.11 or 8.21.0.","what":"CVE-2026-48779 is a high-severity denial of service vulnerability in websockets ws, published on 16 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48779 and fix it if it is affected.\n\nWhat it is: CVE-2026-48779 is a high-severity denial of service vulnerability in websockets ws, published on 16 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48779 exists.\n\nAffected packages and fixed versions:\n- ws (npm): affected from 1.1.0; fixed in 5.2.5\n- ws (npm): affected from 1.1.0; fixed in 5.2.5\n- ws (npm): affected from 6.0.0; fixed in 6.2.4\n- ws (npm): affected from 6.0.0; fixed in 6.2.4\n- ws (npm): affected from 7.0.0; fixed in 7.5.11\n- ws (npm): affected from 7.0.0; fixed in 7.5.11\n- ws (npm): affected from 8.0.0; fixed in 8.21.0\n- ws (npm): affected from 8.0.0; fixed in 8.21.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48779/ (Markdown: https://insights.sbomify.com/CVE-2026-48779/index.md)","id":"CVE-2026-48779","markdown":"https://insights.sbomify.com/CVE-2026-48779/index.md","name":"CVE-2026-48779","record":{"aliases":["AZL-91415","CLEANSTART-2026-PK38447","CLSA-2026-1784769503","CLSA-2026-1784769533","CLSA-2026-1784769619","CLSA-2026-1784856221","CLSA-2026-1785117461","CLSA-2026-1785117464","CLSA-2026-1785204342","CLSA-2026-1785204343","CLSA-2026-1785204378","CLSA-2026-1790161419","CLSA-2026-1792163981","CLSA-2026-1792164080","CVE-2026-62389","DEBIAN-CVE-2026-48779","ECHO-63b9-3484-977b","GHSA-96hv-2xvq-fx4p","MINI-234h-9p6f-58m4","MINI-254m-9647-5x7j","MINI-2p43-m25g-xqxf","MINI-3667-xxp4-7x6v","MINI-3842-p4vc-ppxw","MINI-3m68-mcq2-2x2r","MINI-3mpq-rc94-rf7h","MINI-46p9-rmcj-g3qf","MINI-64cc-9p7g-35f8","MINI-6g5g-cr73-6p6p","MINI-75mq-ggx6-fqrm","MINI-7f36-2wvm-wmp3","MINI-7hg7-xq39-5vg9","MINI-7r9x-c8rc-8vr5","MINI-84gf-h45v-6pqx","MINI-8qxh-crwc-j685","MINI-9354-rv5m-mg83","MINI-9524-pw68-g44m","MINI-9qqj-g4jx-xccx","MINI-9w33-j8fv-h9wr","MINI-9w68-4f32-mhcj","MINI-c79g-gp2j-5j84","MINI-f5cm-rhjj-9mwq","MINI-ff8r-g953-33mg","MINI-g2cx-4f6h-4xrp","MINI-ggwf-3mqw-3j3r","MINI-hc52-fv33-cwvf","MINI-jxm9-7qpq-whfj","MINI-mcjc-x4vh-q763","MINI-mcw8-pvcx-3qr2","MINI-mf8g-xcjh-9c9c","MINI-mhjx-vrw9-4q8w","MINI-pf8x-pxrg-98mx","MINI-pp29-7c54-wmx8","MINI-r44g-q3h2-vcwf","MINI-rf26-7974-89q5","MINI-rg72-48vr-37v6","MINI-rq5p-c593-334x","MINI-rwpv-qjr3-g8jm","MINI-vm67-jx3v-vx56","MINI-w657-2jgj-jv4x","MINI-xhx7-8whr-5rwc","ROOT-APP-NPM-CVE-2026-48779","UBUNTU-CVE-2026-48779","openSUSE-SU-2026:11123-1","openSUSE-SU-2026:11137-1","openSUSE-SU-2026:11138-1","openSUSE-SU-2026:11354-1","openSUSE-SU-2026:11397-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js WebSocket library","requires_auth":"none","summary":"Attackers can cause memory exhaustion and process termination by sending tiny WebSocket fragments, requiring library upgrades to mitigate.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ws","vendor":"ws_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1050","name":"Excessive Platform Resource Consumption within a Loop"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["npm","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ws: Memory exhaustion DoS from tiny fragments and data chunks","id":"CVE-2026-48779","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":13,"n_references":5,"next":{"headline":"Forem vulnerable to bypass of email address domain restrictions","id":"CVE-2026-48780"},"packages":[{"ecosystem":"npm","fixed":["5.2.5"],"introduced":["1.1.0"],"last_affected":[],"package":"ws","purl":null,"source":"GHSA-96hv-2xvq-fx4p"},{"ecosystem":"npm","fixed":["5.2.5"],"introduced":["1.1.0"],"last_affected":[],"package":"ws","purl":"pkg:npm/ws","source":"GHSA-96hv-2xvq-fx4p"},{"ecosystem":"npm","fixed":["6.2.4"],"introduced":["6.0.0"],"last_affected":[],"package":"ws","purl":null,"source":"GHSA-96hv-2xvq-fx4p"},{"ecosystem":"npm","fixed":["6.2.4"],"introduced":["6.0.0"],"last_affected":[],"package":"ws","purl":"pkg:npm/ws","source":"GHSA-96hv-2xvq-fx4p"},{"ecosystem":"npm","fixed":["7.5.11"],"introduced":["7.0.0"],"last_affected":[],"package":"ws","purl":null,"source":"GHSA-96hv-2xvq-fx4p"},{"ecosystem":"npm","fixed":["7.5.11"],"introduced":["7.0.0"],"last_affected":[],"package":"ws","purl":"pkg:npm/ws","source":"GHSA-96hv-2xvq-fx4p"},{"ecosystem":"npm","fixed":["8.21.0"],"introduced":["8.0.0"],"last_affected":[],"package":"ws","purl":null,"source":"GHSA-96hv-2xvq-fx4p"},{"ecosystem":"npm","fixed":["8.21.0"],"introduced":["8.0.0"],"last_affected":[],"package":"ws","purl":"pkg:npm/ws","source":"GHSA-96hv-2xvq-fx4p"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.13.1-15.1"],"introduced":["0"],"last_affected":[],"package":"python-bqplot","purl":"pkg:rpm/opensuse/python-bqplot\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11397-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.10.0-18.1"],"introduced":["0"],"last_affected":[],"package":"python-ipympl","purl":"pkg:rpm/opensuse/python-ipympl\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11354-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.5.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyter-ydoc","purl":"pkg:rpm/opensuse/python-jupyter-ydoc\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11137-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.5.3-2.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyterlab-templates","purl":"pkg:rpm/opensuse/python-jupyterlab-templates\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11138-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.3.3-2.1"],"introduced":["0"],"last_affected":[],"package":"python-nbclassic","purl":"pkg:rpm/opensuse/python-nbclassic\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11123-1"}],"prev":{"headline":"Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter","id":"CVE-2026-48778"},"products":["ws"],"published":"2026-06-16","related":[{"cvss_score":7.5,"headline":"Remote Memory Disclosure in ws","id":"CVE-2016-10518","kev_date_added":null,"published":"2018-05-31"},{"cvss_score":7.5,"headline":"DoS due to excessively large websocket message in ws","id":"CVE-2016-10542","kev_date_added":null,"published":"2018-05-31"},{"cvss_score":4.4,"headline":"ws: Uninitialized memory disclosure","id":"CVE-2026-45736","kev_date_added":null,"published":"2026-05-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-11","vendors":["websockets"]},"summary":"Attackers can cause memory exhaustion and process termination by sending tiny WebSocket fragments, requiring library upgrades to mitigate.","url":"https://insights.sbomify.com/CVE-2026-48779/"}