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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.95% (percentile 60, 2026-11-29)
- **CWE:** CWE-248, CWE-755
- **Published:** 2026-10-15T17:28:32.567Z
- **Modified:** 2026-10-16T20:04:29.760Z

## Who should check

- Anyone running js-libp2p \< 3.3.7
- Anyone running @libp2p webrtc \< 6.0.28

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

## Affected and fixed versions

- js-libp2p: \< 3.3.7 (cvelist)
- @libp2p webrtc: \< 6.0.28 (cvelist)

## Mitigation

- Upgrade js-libp2p to 3.3.7 or later.
- Upgrade webrtc to 6.0.28 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-103936. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-103936.md
Affected: js-libp2p < 3.3.7; @libp2p webrtc < 6.0.28
Fixed in: js-libp2p 3.3.7, @libp2p webrtc 6.0.28

Steps:
1. Search this machine and project for js-libp2p, @libp2p webrtc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-103936 being exploited?

There is no confirmed exploitation: CVE-2026-103936 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.95% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-103936?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-103936?

js-libp2p \< 3.3.7; @libp2p webrtc \< 6.0.28.

### Is there a fix for CVE-2026-103936?

Yes. Fixed in js-libp2p 3.3.7, @libp2p webrtc 6.0.28. Upgrade js-libp2p to 3.3.7 or later. Upgrade webrtc to 6.0.28 or later.

### How do I check if I'm affected by CVE-2026-103936?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x3m2-6mg8-vj7f>
- patch: <https://github.com/libp2p/js-libp2p/pull/3584>
- patch: <https://github.com/libp2p/js-libp2p/commit/68794c8e2e67d5f38da59e379dc051b2789e46f6>
- other: <https://github.com/libp2p/js-libp2p/releases/tag/webrtc-v6.0.28>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-103936>

HTML: <https://flawdb.com/CVE-2026-103936> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-103936>
