{"id":"CVE-2026-54332","summary":"GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -\u003e up to 16 GiB make) -\u003e unauthenticated remote DoS","details":"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.","aliases":["GHSA-g6v3-7xmc-w563"],"modified":"2026-07-29T03:47:13.912295718Z","published":"2026-07-28T16:17:48.796Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54332.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-770"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54332.json"},{"type":"FIX","url":"https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc"},{"type":"WEB","url":"https://github.com/gopacket/gopacket/releases/tag/v1.6.1"},{"type":"ADVISORY","url":"https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54332"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gopacket/gopacket","events":[{"introduced":"0"},{"fixed":"76119086f5936aacd7088bdf97d565501bb6c4cc"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.6.1"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.6.0","v1.5.0","v1.4.0","v1.3.1","v1.3.0","v.1.3.0","v1.2.0","v1.1.1","v1.1.0","v1.0.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54332.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:L/SC:N/SI:N/SA:N"}]}