{"id":"CVE-2026-54332","published":"2026-07-28T16:17:48Z","modified":"2026-07-28T17:28:21Z","title":"GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to…","vendor":"gopacket","product":"gopacket","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0079,"percentile":0.57182,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc","tags":["x_refsource_MISC"]},{"url":"https://github.com/gopacket/gopacket/releases/tag/v1.6.1","tags":["x_refsource_MISC"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":11.44},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"gopacket","affectedVersions":[{"vendor":"gopacket","product":"gopacket","versions":["< 1.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-28T17:28:10.356746Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gopacket/gopacket","vulnerableRanges":["<1.6.1"],"patched":["1.6.1"],"from":["GHSA-g6v3-7xmc-w563","GO-2026-6122"],"provenance":"source"}],"summary":{"text":"The sFlow ExtendedGatewayFlow decoder in the gopacket Go packet-processing library (layers/sflow.go) sizes slice allocations from attacker-supplied community and AS path counts without checking them against the bytes remaining in the datagram. A remote, unauthenticated attacker who can send UDP datagrams to a service using this decoder can crash it through denial of service: a 104-byte datagram can trigger an allocation of up to 16 GiB, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:27Z"},"euvd":{"id":"EUVD-2026-49894","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-54332","published":"2026-07-28","fixed":"1.6.1","kev":false},{"cve":"CVE-2026-54345","published":"2026-07-28","fixed":"1.6.1","kev":false},{"cve":"CVE-2026-119299","published":"2026-10-30","fixed":"1.7.2","kev":false,"link":{"from":"CVE-2026-54332","to":"CVE-2026-119299","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gopacket/gopacket","fromFixed":"1.6.1","toFixed":"1.7.2","daysApart":94}]}}],"package":"Go:github.com/gopacket/gopacket"}}