Resource allocation without limits in gopacket
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gopacket | gopacket | before 1.6.1 | 1.6.1 | Patch available | CNA |
| — | github.com/gopacket/gopacket (Go) | before 1.6.1 | 1.6.1 | Patch available | GHSA-g6v3-7xmc-w563 |
- gopacket Vendorgopacket Affected before 1.6.1 Fixed in 1.6.1 Patch available CNA
- github.com/gopacket/gopacket (Go) Vendor— Affected before 1.6.1 Fixed in 1.6.1 Patch available GHSA-g6v3-7xmc-w563
Remediation
- Fix · CNA gopacket (gopacket) Fixed in 1.6.1
- Fix · GHSA-g6v3-7xmc-w563 github.com/gopacket/gopacket (Go) Fixed in 1.6.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54332
- 2026-10-03 Alias added: GHSA-g6v3-7xmc-w563
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More Gopacket vulnerabilities
- TI-2026-39239 Integer underflow in gopacket CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-54332 · CVE Program
- CVE-2026-54332 · NVD
- FIRST EPSS
- GHSA-g6v3-7xmc-w563 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-54332 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences