{"schemaVersion":4,"id":"CVE-2026-33040","aliases":["UBUNTU-CVE-2026-33040","GHSA-gc42-3jg7-rxr2","RUSTSEC-2026-0535"],"status":"published","duplicateOf":null,"title":"libp2p-rust: Gossipsub PRUNE.backoff Duration Overflow","description":"libp2p-rust is the official rust language Implementation of the libp2p networking stack. In versions prior to 0.49.3, the Gossipsub implementation accepts attacker-controlled PRUNE backoff values and may perform unchecked time arithmetic when storing backoff state. A specially crafted PRUNE control message with an extremely large backoff (e.g. u64::MAX) can lead to Duration/Instant overflow during backoff update logic, triggering a panic in the networking state machine. This is remotely reachable over a normal libp2p connection and does not require authentication. Any application exposing a libp2p Gossipsub listener and using the affected backoff-handling path can be crashed by a network attacker that can reach the service port. The attack can be repeated by reconnecting and replaying the crafted control message. This issue has been fixed in version 0.49.3.","dates":{"published":"2026-03-20T05:46:42.276Z","modified":"2026-03-20T15:41:03.864Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/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.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Crates.io","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/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":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00643,"percentile":0.52274,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.053999999999999965,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00589},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00643,"percentile":0.52274}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00602,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00643,"percentile":0.52274}]},"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-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"Crates.Io","product":"libp2p-gossipsub","name":"libp2p-gossipsub","label":"libp2p-gossipsub","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/libp2p-gossipsub","purlType":"cargo","versions":[{"text":"< 0.49.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.49.3","endInclusive":false}},{"text":"≥ 0.0.0-0, < 0.49.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.0.0-0","startInclusive":true,"end":"0.49.3","endInclusive":false}}],"versionsText":"< 0.49.3 | ≥ 0.0.0-0, < 0.49.3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-libp2p-identity","name":"rust-libp2p-identity","label":"rust-libp2p-identity","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-libp2p-identity","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"libp2p","product":"rust-libp2p","name":"rust-libp2p","label":"rust-libp2p","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.49.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.49.3","endInclusive":false}}],"versionsText":"< 0.49.3","eol":null,"hubHref":"/vendor/libp2p/rust-libp2p"},{"vendor":"protocol","product":"libp2p-gossipsub","name":"libp2p-gossipsub","label":"libp2p-gossipsub","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.49.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.49.3","endInclusive":false}}],"versionsText":"< 0.49.3","eol":null,"hubHref":"/vendor/protocol/libp2p-gossipsub"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-gc42-3jg7-rxr2","label":"github.com/libp2p/rust-libp2p/security/advisories/GHSA-gc42-3jg7-rxr2","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-33040","label":"ubuntu.com/security/CVE-2026-33040","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33040","label":"www.cve.org/CVERecord?id=CVE-2026-33040","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33040","label":"nvd.nist.gov/vuln/detail/CVE-2026-33040","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/libp2p/rust-libp2p","label":"github.com/libp2p/rust-libp2p","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/libp2p-gossipsub","label":"crates.io/crates/libp2p-gossipsub","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0535.html","label":"rustsec.org/advisories/RUSTSEC-2026-0535.html","hostname":"rustsec.org","tags":["Advisory"]},{"url":"https://github.com/libp2p/rust-libp2p/commit/84153a559bdbcb92a48413dd2a31035800cb882d","label":"github.com/libp2p/rust-libp2p/commit/84153a559bdbcb92a48413dd2a31035800cb882d","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-03-20T05:46:42.276Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-20T15:41:03.864Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.7 (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,87],"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.00643,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-03-20T15:41:03.864Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-03-20T15:41:03.864Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-03-20T15:41:03.864Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_crates.io","date":"2026-03-20T15:41:03.864Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-03-20T15:41:03.864Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/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-03-20T15:41:03.864Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-03-20T15:40:49.446Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00643,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:35:31.555Z","stale":false,"partial":false}}