Vulnerability · Published Jul 28, 2026 · Assigned by GitHub_M
CVE-2026-54332GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to 16 GiB make) -> unauthenticated remote DoS
Medium 6.9
In plain English
A medium-severity resource allocation without limits in gopacket from gopacket. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-gopacket-gopacket | no fix listed | DEBIAN-CVE-2026-54332 |
| Debian:13 | golang-github-gopacket-gopacket | no fix listed | DEBIAN-CVE-2026-54332 |
| Debian:14 | golang-github-gopacket-gopacket | no fix listed | DEBIAN-CVE-2026-54332 |
| Debian:12 | gopacket | no fix listed | DEBIAN-CVE-2026-54332 |
| Debian:13 | gopacket | no fix listed | DEBIAN-CVE-2026-54332 |
| Debian:14 | gopacket | no fix listed | DEBIAN-CVE-2026-54332 |
| Go | github.com/gopacket/gopacket | 1.6.1 | GHSA-g6v3-7xmc-w563 |
| Go | github.com/gopacket/gopacket | 1.6.1 | GO-2026-6122 |
| Ubuntu:24.04:LTS | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-54332 |
| Ubuntu:26.04:LTS | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-54332 |
| Ubuntu:26.10 | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-54332 |
| Ubuntu:22.04:LTS | gopacket | no fix listed | UBUNTU-CVE-2026-54332 |
| Ubuntu:24.04:LTS | gopacket | no fix listed | UBUNTU-CVE-2026-54332 |
| Ubuntu:26.04:LTS | gopacket | no fix listed | UBUNTU-CVE-2026-54332 |
| Ubuntu:26.10 | gopacket | no fix listed | UBUNTU-CVE-2026-54332 |
Affected products (as reported)
Weakness: CWE-770 · 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
References
- https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563 x_refsource_CONFIRM
- https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc x_refsource_MISC
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1 x_refsource_MISC