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.
Published: 2026-10-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service (process termination)
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows an unauthenticated UDP STUN Binding Request to be processed before authentication in the @libp2p/webrtc listener. When the request contains a short credential, the packet‑controlled ufrag value is forwarded as an ICE password, which violates expected formatting rules. This triggers a native invalid_argument error that aborts the node process with SIGABRT, terminating the WebRTC‑direct listener. The confirmed impact is a denial of service of the individual Node.js process; no memory corruption, code execution, or data leakage is demonstrated.

Affected Systems

Affected products are @libp2p:webrtc and libp2p:js-libp2p. Any installation of these libraries earlier than version 6.0.28 is vulnerable. Versions 6.0.28 and later contain the fix; therefore all upstream Node.js applications that depend on these modules and expose WebRTC‑direct listeners are at risk until updated.

Risk and Exploitability

Based on the description, the attacker can craft a single STUN packet from any remote host to trigger the denial of service. The CVSS score of 7.5 indicates a high severity and the EPSS score of less than 1% suggests a low probability of exploitation in the wild. The vulnerability is not listed in CISA’s KEV database, implying no known active exploit campaigns. The attack route is a remote network vector; no privileged access or local execution is required.

Generated by OpenCVE AI on October 16, 2026 at 17:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to libp2p js-libp2p version 6.0.28 or later which replaces the vulnerable STUN listener logic.
  • If an upgrade is not immediately possible, disable or remove the @libp2p/webrtc listener from the application to prevent exposure to external STUN packets.
  • Configure network firewalls or IDS to block unsolicited STUN Binding Requests on the UDP ports used by your WebRTC implementation to mitigate the impact until a patch can be applied.

Generated by OpenCVE AI on October 16, 2026 at 17:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Libp2p
Libp2p libp2p
Libp2p webrtc
Vendors & Products Libp2p
Libp2p libp2p
Libp2p webrtc

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title libp2p: Single pre-auth STUN packet terminates `@libp2p/webrtc` WebRTC-direct Node.js listeners
Weaknesses CWE-248
CWE-755
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T17:12:49.532Z

Reserved: 2026-10-01T14:20:19.156Z

Link: CVE-2026-103936

cve-icon Vulnrichment

Updated: 2026-10-16T15:22:19.387Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T18:17:22.433

Modified: 2026-10-16T20:04:29.760

Link: CVE-2026-103936

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T20:22:59Z

Weaknesses
  • CWE-248

    Uncaught Exception

  • CWE-755

    Improper Handling of Exceptional Conditions