Skip to content
← Blog · · df00tech

CVE-2026-110789: Unbounded DER Decode Loop Lets Unauthenticated Peers DoS js-libp2p Nodes

vuln-intel npm CVE-2026-110789 #checker-reject

What's the Vulnerability

CVE-2026-110789 is an uncontrolled resource consumption flaw (CWE-130, CWE-400) in the ASN.1 DER decoder shipped with @libp2p/crypto, the key/certificate parsing module used by js-libp2p. The decoder trusts an attacker-controlled length field when parsing DER-encoded keys or certificates. A crafted value drives the decoder into an unbounded, synchronous loop rather than erroring out or bounding its work. Because Node.js is single-threaded for JavaScript execution, this loop stalls the entire event loop — and since the malicious payload is processed during the handshake, it happens before authentication completes, making this a pre-authentication denial-of-service primitive.

Affected Software

  • Package: @libp2p/crypto (npm)
  • Affected versions: <= 5.1.21
  • Fixed in: 5.1.22 and later

Any service built on js-libp2p that pulls in a vulnerable @libp2p/crypto version is exposed, since peer handshakes accept DER-encoded key material from untrusted remote peers by design.

Exploitation Status

This CVE carries a CVSS score of 7.5 and is currently rated PoC public — functional proof-of-concept exploit code is available, but we have no evidence of active weaponized campaigns yet. For defenders, PoC-public status means the barrier to exploitation is low and opportunistic scanning or targeted abuse should be considered a near-term risk, not a theoretical one. No official patch date has been recorded yet, so inventory and mitigation take priority over waiting for a vendor fix window.

How Our Detection Catches It

Because this is a resource-exhaustion bug rather than a code-execution exploit, our detection logic is built around process- and connection-level symptoms rather than a single signature:

  • Dependency-inventory evidence identifying Node.js processes running a vulnerable @libp2p/crypto version (<= 5.1.21)
  • Event-loop stall indicators correlated with libp2p peer-handshake activity
  • Sustained single-thread CPU saturation on Node.js processes hosting libp2p services
  • Dropped or incomplete libp2p connections occurring mid-handshake, consistent with a stalled decode blocking connection completion

This logic is available across our full SIEM coverage: Microsoft Sentinel (KQL), Splunk (SPL), Elastic (EQL), QRadar (AQL), Sumo Logic, Chronicle (YARA-L), and CrowdStrike (CQL) — so teams can deploy the behavioral pattern in whichever stack ingests their Node.js and libp2p telemetry.

Remediation

Upgrade @libp2p/crypto to version 5.1.22 or later. Until upgraded, monitor for the event-loop and handshake-failure symptoms above as a compensating control.

For the full detection logic, sample events, and ready-to-deploy queries across all seven platforms, see the CVE-2026-110789 detection page.

Get new detections in your inbox

New ATT&CK coverage plus CISA KEV / CVE detection rules, roughly weekly. No spam, unsubscribe anytime.