# CVE-2026-103936: libp2p: Single pre-auth STUN packet terminates `@libp2p/webrtc` WebRTC-direct Node.js listeners

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-15T17:28:32.567Z
- Modified: 2026-10-16T20:04:29.760Z
- Weaknesses: CWE-248, CWE-755
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- libp2p js-libp2p: < 3.3.7
- @libp2p webrtc: < 6.0.28

## 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>

## Sources

- CVE List: [CVE-2026-103936](https://www.cve.org/CVERecord?id=CVE-2026-103936), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-103936](https://nvd.nist.gov/vuln/detail/CVE-2026-103936), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-103936 · Whole record: https://cve.day/CVE-2026-103936.json · Rebuilt by cve.day 2026-11-25T22:59:44.912Z
