{"cve":"CVE-2026-54332","nvd":{"published":"2026-07-28T17:16:51.257","modified":"2026-08-05T19:10:43.193","status":"Analyzed","description":"gopacket provides packet processing capabilities for Go. In version 1.6.0 and earlier, the sFlow ExtendedGatewayFlow decoder in layers/sflow.go reads an attacker-controlled 32-bit community count and AS path member count and sizes a slice allocation from those counts without bounding them against the bytes remaining in the datagram, so a 104-byte UDP datagram can drive an allocation of up to 16 GiB and cause an unauthenticated remote denial of service. This issue is fixed in version 1.6.1.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc","https://github.com/gopacket/gopacket/releases/tag/v1.6.1","https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563","https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563"],"products":["gopacket:gopacket"],"source":"nvd","synced_at":"2026-10-19T22:46:40.600842820+00:00"},"epss":{"cve":"CVE-2026-54332","score":0.0079,"percentile":0.56282,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g6v3-7xmc-w563","url":"https://osv.dev/vulnerability/GHSA-g6v3-7xmc-w563","summary":"GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to 16 GiB make) -> unauthenticated remote DoS","modified":"2026-09-10T03:50:52.074950832Z","packages":[{"ecosystem":"Go","name":"github.com/gopacket/gopacket","purl":"pkg:golang/github.com/gopacket/gopacket","ranges":["<1.6.1"],"fixed":["1.6.1"]}]},{"id":"GO-2026-6122","url":"https://osv.dev/vulnerability/GO-2026-6122","summary":"GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to 16 GiB make) -> unauthenticated remote DoS in github.com/gopacket/gopacket","modified":"2026-08-18T15:00:21.345503970Z","packages":[{"ecosystem":"Go","name":"github.com/gopacket/gopacket","purl":"pkg:golang/github.com/gopacket/gopacket","ranges":["<1.6.1"],"fixed":["1.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}