{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-110789","id":"CVE-2026-110789","title":"libp2p denial of service in public key DER decoding","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 ","descriptionLong":"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.","published":"2026-11-17T19:14:34.385Z","updated":"2026-11-19T20:45:20.031799315Z","reserved":"2026-10-14T17:40:14.919Z","status":"Received","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["libp2p js-libp2p","@libp2p crypto"],"affectedProducts":[{"vendor":"libp2p","product":"js-libp2p","defaultStatus":null,"versions":[{"version":"< 3.3.8","status":"affected"}],"platforms":[]},{"vendor":"@libp2p","product":"crypto","defaultStatus":null,"versions":[{"version":"< 5.1.22","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@libp2p/crypto","purl":"pkg:npm/%40libp2p/crypto","ranges":["<5.1.22"],"fixed":["5.1.22"],"advisory":"GHSA-rvfr-cqwq-rc4j"}],"cwes":["CWE-130","CWE-400"],"aliases":["GHSA-rvfr-cqwq-rc4j"],"references":[{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-rvfr-cqwq-rc4j","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/libp2p/js-libp2p/pull/3587","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/libp2p/js-libp2p/commit/ef6e1851cb00511a4793a5e68948e0cdad385332","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/libp2p/js-libp2p/releases/tag/crypto-v5.1.22","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110789.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110789","tags":["advisory"]},{"url":"https://github.com/libp2p/js-libp2p","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00623,"epssPercentile":0.50802,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-110789","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110789","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-110789","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rvfr-cqwq-rc4j","ok":true,"note":"GHSA-rvfr-cqwq-rc4j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-110789","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":"Public exploit referenced within two weeks of publication"}