CVE-2026-54332
gopacket provides packet processing capabilities for Go. In version …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc
- github.com/gopacket/gopacket/releases/tag/v1.6.1
- github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563
- github.com/advisories/GHSA-g6v3-7xmc-w563
- nvd.nist.gov/vuln/detail/CVE-2026-54332
- cve.org/CVERecord?id=CVE-2026-54332
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.