{"answers":{"affected":"2 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-45736 exists.","fix":"Upgrade ws to 8.20.1 or later.","what":"CVE-2026-45736 is a medium-severity vulnerability in websockets ws, published on 15 May 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45736 and fix it if it is affected.\n\nWhat it is: CVE-2026-45736 is a medium-severity vulnerability in websockets ws, published on 15 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45736 exists.\n\nAffected packages and fixed versions:\n- ws (npm): affected from 8.0.0; fixed in 8.20.1\n- ws (npm): affected from 8.0.0; fixed in 8.20.1\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-45736/ (Markdown: https://insights.sbomify.com/CVE-2026-45736/index.md)","id":"CVE-2026-45736","markdown":"https://insights.sbomify.com/CVE-2026-45736/index.md","name":"CVE-2026-45736","record":{"aliases":["CLEANSTART-2026-OF42288","CLSA-2026-1784596293","CLSA-2026-1784596324","CLSA-2026-1790200934","CLSA-2026-1790202672","CLSA-2026-1790413013","DEBIAN-CVE-2026-45736","ECHO-e77b-eb12-9d68","GHSA-58qx-3vcg-4xpx","MINI-2f9f-x5g4-mfv2","MINI-2j72-jrgh-qhqr","MINI-3fr4-3289-4j8j","MINI-44j8-x7w5-x827","MINI-5226-xr6v-9c4j","MINI-55pp-xp9m-c89r","MINI-58gv-jxqg-749w","MINI-5j26-j4g3-h72j","MINI-6882-8v6h-prp4","MINI-7vcp-376h-3889","MINI-8957-7vjf-5h2c","MINI-9544-4382-gpcf","MINI-c2f9-jcxv-58gr","MINI-fgc8-rm3f-r8jm","MINI-fh47-jrrr-57m4","MINI-g94q-x7p9-6mwh","MINI-gwm7-qj9p-r3v6","MINI-hpgq-53hq-5hfx","MINI-jmw8-7qgg-xqw5","MINI-m3jf-9xfh-c35v","MINI-m4rq-q67j-j47r","MINI-m7jj-w2hg-jrrm","MINI-mppw-vrmc-3qhp","MINI-mrwr-r24p-pfj3","MINI-mx28-3424-f2qf","MINI-r5cc-46vf-626j","MINI-v5jr-h4qc-mfjc","MINI-whf9-pqm7-mjvx","MINI-x4jf-3v3g-m69g","MINI-xghv-x3mm-c66w","MINI-xq59-hvg4-pxp5","ROOT-APP-NPM-CVE-2026-45736","UBUNTU-CVE-2026-45736","openSUSE-SU-2026:11952-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js WebSocket library","requires_auth":"high_privilege","summary":"An attacker can disclose uninitialized memory by passing a TypedArray as the reason argument to websocket.close() in the ws library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ws","vendor":"ws_project"}],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-824","name":"Access of Uninitialized Pointer"},{"id":"CWE-908","name":"Use of Uninitialized Resource"}],"description":"ws is an open source WebSocket client and server for Node.js. Prior to 8.20.1, the websocket.close() implementation is vulnerable to uninitialized memory disclosure when a TypedArray is passed as the reason argument. This vulnerability is fixed in 8.20.1.","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: Uninitialized memory disclosure","id":"CVE-2026-45736","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Argo CD: Kubernetes Secret Extraction via ArgoCD ServerSideDiff via sensitive annotations","id":"CVE-2026-45737"},"packages":[{"ecosystem":"npm","fixed":["8.20.1"],"introduced":["8.0.0"],"last_affected":[],"package":"ws","purl":null,"source":"GHSA-58qx-3vcg-4xpx"},{"ecosystem":"npm","fixed":["8.20.1"],"introduced":["8.0.0"],"last_affected":[],"package":"ws","purl":"pkg:npm/ws","source":"GHSA-58qx-3vcg-4xpx"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.14.3-1.1"],"introduced":["0"],"last_affected":[],"package":"zcode","purl":"pkg:rpm/opensuse/zcode\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11952-1"}],"prev":{"headline":"MyBB: Default CAPTCHA missing invalidation","id":"CVE-2026-45734"},"products":["ws"],"published":"2026-05-15","related":[{"cvss_score":7.5,"headline":"ws: Memory exhaustion DoS from tiny fragments and data chunks","id":"CVE-2026-48779","kev_date_added":null,"published":"2026-06-16"},{"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"}],"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-11","vendors":["websockets"]},"summary":"An attacker can disclose uninitialized memory by passing a TypedArray as the reason argument to websocket.close() in the ws library.","url":"https://insights.sbomify.com/CVE-2026-45736/"}