Resource exhaustion in Gopacket
CVE-2026-54332
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.008 · 57.1th percentile
- Published
- 2026-07-28
What to do
- Fixed in
1.6.1- Affected
- 1 affected product
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.008, 57.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gopacket — versions < 1.6.1
Weakness classification (CWE)
References
- https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563 (Exploit, Third Party Advisory)
- https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc (Patch)
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1 (Release Notes)