CVE-2026-110789: libp2p: ASN.1 DER decoder drives an unbounded synchronous loop on attacker-controlled length fields, stalling the Node event loop pre-auth
A remote peer can stall a js-libp2p node’s entire event loop for ~4–5 seconds per connection (and transiently allocate ~2 GB) by sending a ~15-byte crafted publicKey inside an Identify message. The malformed key reaches the DER decoder before any peer-id/signature check, so the attack is pre-auth and repeatable indefinitely by reconnecting.
References
- github.com/advisories/GHSA-rvfr-cqwq-rc4j
- github.com/libp2p/js-libp2p/commit/ef6e1851cb00511a4793a5e68948e0cdad385332
- github.com/libp2p/js-libp2p/pull/3587
- github.com/libp2p/js-libp2p/releases/tag/crypto-v5.1.22
- github.com/libp2p/js-libp2p/security/advisories/GHSA-rvfr-cqwq-rc4j
- nvd.nist.gov/vuln/detail/CVE-2026-110789
Code Behaviors & Features
Detect and mitigate CVE-2026-110789 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →