{"id":"CVE-2026-103936","state":"PUBLISHED","title":"libp2p: Single pre-auth STUN packet terminates `@libp2p/webrtc` WebRTC-direct Node.js listeners","description":"libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 6.0.28, the @libp2p/webrtc webRTCDirect() Node.js listener processes unauthenticated STUN Binding Requests before PeerId authentication, Noise, muxing, protocol negotiation, connection creation, or connection-manager admission. The listener in packages/transport-webrtc/src/private-to-public/utils/stun-listener.ts forwards the packet-controlled request.ufrag into DirectRTCPeerConnection.setLocalDescription, where the value is reused as an ICE password without validating its required length and character set. A short credential causes node-datachannel or libdatachannel to raise an uncaught native invalid_argument and abort the process with SIGABRT, allowing a single remote UDP packet to deny service. The confirmed impact is process termination only, with no demonstrated memory corruption, code execution, browser impact, confidentiality impact, integrity impact, or connection-limit bypass. This issue is fixed in version 6.0.28.","publishedAt":"2026-10-15T17:28:32.567Z","updatedAt":"2026-10-16T17:12:49.532Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["libp2p js-libp2p","@libp2p webrtc"],"affected":[{"vendor":"libp2p","product":"js-libp2p","versions":[{"version":"< 3.3.7","status":"affected"}]},{"vendor":"@libp2p","product":"webrtc","versions":[{"version":"< 6.0.28","status":"affected"}]}],"references":["https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x3m2-6mg8-vj7f","https://github.com/libp2p/js-libp2p/pull/3584","https://github.com/libp2p/js-libp2p/commit/68794c8e2e67d5f38da59e379dc051b2789e46f6","https://github.com/libp2p/js-libp2p/releases/tag/webrtc-v6.0.28"],"weaknesses":["CWE-248","CWE-755"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/103xxx/CVE-2026-103936.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103936","state":"PUBLISHED","datePublished":"2026-10-15T17:28:32.567Z","dateUpdated":"2026-10-16T17:12:49.532Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-01T14:20:19.156Z"},"containers":{"cna":{"title":"libp2p: Single pre-auth STUN packet terminates `@libp2p/webrtc` WebRTC-direct Node.js listeners","descriptions":[{"lang":"en","value":"libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 6.0.28, the @libp2p/webrtc webRTCDirect() Node.js listener processes unauthenticated STUN Binding Requests before PeerId authentication, Noise, muxing, protocol negotiation, connection creation, or connection-manager admission. The listener in packages/transport-webrtc/src/private-to-public/utils/stun-listener.ts forwards the packet-controlled request.ufrag into DirectRTCPeerConnection.setLocalDescription, where the value is reused as an ICE password without validating its required length and character set. A short credential causes node-datachannel or libdatachannel to raise an uncaught native invalid_argument and abort the process with SIGABRT, allowing a single remote UDP packet to deny service. The confirmed impact is process termination only, with no demonstrated memory corruption, code execution, browser impact, confidentiality impact, integrity impact, or connection-limit bypass. This issue is fixed in version 6.0.28."}],"affected":[{"vendor":"libp2p","product":"js-libp2p","versions":[{"version":"< 3.3.7","status":"affected"}]},{"vendor":"@libp2p","product":"webrtc","versions":[{"version":"< 6.0.28","status":"affected"}]}],"references":[{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x3m2-6mg8-vj7f","name":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x3m2-6mg8-vj7f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libp2p/js-libp2p/pull/3584","name":"https://github.com/libp2p/js-libp2p/pull/3584","tags":["x_refsource_MISC"]},{"url":"https://github.com/libp2p/js-libp2p/commit/68794c8e2e67d5f38da59e379dc051b2789e46f6","name":"https://github.com/libp2p/js-libp2p/commit/68794c8e2e67d5f38da59e379dc051b2789e46f6","tags":["x_refsource_MISC"]},{"url":"https://github.com/libp2p/js-libp2p/releases/tag/webrtc-v6.0.28","name":"https://github.com/libp2p/js-libp2p/releases/tag/webrtc-v6.0.28","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248: Uncaught Exception","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-755","lang":"en","description":"CWE-755: Improper Handling of Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-15T17:28:32.567Z"},"source":{"advisory":"GHSA-x3m2-6mg8-vj7f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-16T15:22:18.274644Z","id":"CVE-2026-103936","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T17:12:49.532Z"}}]}}}