{"schemaVersion":4,"id":"CVE-2026-142215","aliases":[],"status":"published","duplicateOf":null,"title":"@libp2p/gossipsub through 17.2.3 Memory Exhaustion via Unbounded Metric Label Cardinality","description":"@libp2p/gossipsub through 17.2.3 contains an uncontrolled resource consumption vulnerability that allows remote peers to grow the metrics registry by sending messages with arbitrary topics when metrics are enabled. Attackers can send messages with unbounded distinct topic strings, creating never-removed labelled time series before validation, to exhaust Node.js process memory.","dates":{"published":"2026-12-02T16:50:31.032Z","modified":"2026-12-03T16:14:13.259Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00716,"percentile":0.55126,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-03T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00716,"percentile":0.55126}],"last30":[{"date":"2026-12-03T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00716,"percentile":0.55126}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"libp2p","product":"@libp2p/gossipsub","name":"@libp2p/gossipsub","label":"@libp2p/gossipsub","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 17.2.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"17.2.3","endInclusive":true}}],"versionsText":"≤ 17.2.3","eol":null,"hubHref":"/vendor/libp2p/libp2pgossipsub"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.ts#L709-L711","label":"github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.ts","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.ts#L875-L878","label":"github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.ts","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/gossipsub.ts#L1103-L1108","label":"github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/gossipsub.ts","hostname":"github.com","tags":["Technical Description"]},{"url":"https://www.vulncheck.com/advisories/libp2p-gossipsub-through-17.2.3-memory-exhaustion-via-unbounded-metric-label-cardinality","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T16:50:31.032Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T16:14:13.259Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,82],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00716,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T16:14:13.259Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-03T16:14:13.259Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-03T16:14:13.259Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-12-03T16:14:13.259Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-03T15:10:37.957Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00716,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:13:08.269Z","stale":false,"partial":false}}