{"id":"UBUNTU-CVE-2026-33040","details":"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.","modified":"2026-05-20T16:25:24.058537608Z","published":"2026-03-20T06:16:00Z","upstream":["CVE-2026-33040"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33040"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-33040"},{"type":"REPORT","url":"https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-gc42-3jg7-rxr2"}],"affected":[{"package":{"name":"rust-libp2p-identity","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-libp2p-identity?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.10+20250205+ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-libp2p-identity-dev","binary_version":"0.2.10+20250205+ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33040.json"}},{"package":{"name":"rust-libp2p-identity","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-libp2p-identity?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.10+20250205+ds-1","0.2.12+20250805+ds-2","0.2.13+ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-libp2p-identity-dev","binary_version":"0.2.13+ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33040.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}