CVE-2026-77384
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
libp2p is a JavaScript implementation of the libp2p networking stack. Prior to version 4.2.9, the reservation refresh path in reservation-store.ts reuses the same retimeableSignal but unconditionally registers another abort listener on every refresh. As a result, a remote peer can repeatedly send valid RESERVE requests for the same reservation, causing unbounded listener and closure growth in @libp2p/circuit-relay-v2 relay servers and leading to denial of service. This issue is fixed in version 4.2.9.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| libp2p | js-libp2p | >= 2.1.5, < 4.2.9 | affected |
Weaknesses
- CWE-400: CWE-400: Uncontrolled Resource Consumption
- CWE-772: CWE-772: Missing Release of Resource after Effective Lifetime
References
- https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x787-gh7p-hmq7
- https://github.com/libp2p/js-libp2p/commit/4bb8fbe8d3f3590e4af51a1f5f7de56fffa5804d
- https://github.com/libp2p/js-libp2p/releases/tag/circuit-relay-v2-v4.2.9
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.