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
No exploitation reported by the sources we read.
- Published2026-11-17
- Fixed in5.1.22
- WeaknessCWE-130 · CWE-400
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 5.1.22, the @libp2p/crypto code reached by the default Identify service accepts a remote peer’s crafted publicKey before peer-id or signature verification and passes it through publicKeyFromProtobuf to the ASN.1 DER decoder. readLength in packages/crypto/src/keys/rsa/der.ts accepts long-form element lengths larger than the remaining buffer, causing readInteger and related readers to loop synchronously over an attacker-claimed length from a very small key blob. Because decoding occurs in one event-loop tick before the remotePeer equality check in packages/protocol-identify/src/identify.ts, the Identify timeout cannot interrupt it, allowing repeated unauthenticated connections to stall all timers and peers and transiently exhaust memory. This issue is fixed in version 5.1.22.
Timeline
dates in UTC- 2026-11-1719:14CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.1 | < 5.1.22 | 5.1.22 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- libp2p js-libp2pAffected
- = < 3.3.8no fix stated
- @libp2p cryptoAffected
- = < 5.1.22no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-17
Fix
- Update @libp2p/crypto to 5.1.22
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.17.52026-11-17
- CNAweakness (CWE)CWE-130, CWE-4002026-11-17
- NVDweakness (CWE)CWE-130, CWE-400read 2026-11-17
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2026-11-17
Identifiers
- EUVD-2026-127199same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-rvfr-cqwq-rc4jsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-11-17
- Last Modified
- 2026-11-17
- NVD status
- Received
- GitHub Advisory
- GHSA-rvfr-cqwq-rc4j
Frequently asked questions
What is CVE-2026-110789?
Is CVE-2026-110789 actively exploited?
What is the CVSS score for CVE-2026-110789?
Running @libp2p/crypto? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-129493same weekBolo (bolo-solo) 1.7 through 2.6.4 Article Password Disclosure via /articles
- CVE-2026-82156same week
- CVE-2026-129494same weekCloudPaste 1.1.0 through 1.9.1 WebDAV Credential Disclosure via /api/proxy/link
- CVE-2026-124672same weekBurst Statistics < 3.7.5 - Unauthenticated Plugin Load Suppression via Crafted Request Path
- CVE-2026-129540same weekVoAPI 1.0.0 through 1.2.0 SQL Injection via search Filter Key
- CVE-2026-107520same week
- CVE-2026-129539same weekSSCMS 7.2.0 through 7.4.0 Arbitrary File Read via layerImageUpload Endpoint
- CVE-2026-102448same weekPath Traversal Leading to Remote Code Execution in Bosch Rexroth IndraWorks
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-rvfr-cqwq-rc4j
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served