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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| gopacket | gopacket | < 1.6.1 |
References
- https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4ccPatch
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1Release Notes
- https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563Exploit, Third Party Advisory
- https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563Exploit, Third Party Advisory
Timeline
- Published
- Jul 28, 2026
- Last modified
- Aug 5, 2026
- NVD status
- Analyzed