CVE-2026-54332 GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to 16 GiB make) -> unauthenticated remote DoS
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
16 packages: 2 fixed, 1 partially fixed, 13 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-gopacket-gopacket(Debian 12) | = 1.0.0-1; = 1.2.0-1; = 1.2.0-2; = 1.3.0-1 +2 more | No fix listed | No fix yet |
| debian/golang-github-gopacket-gopacket(Debian 13) | = 1.3.0-2; All versions | No fix listed | No fix yet |
| debian/golang-github-gopacket-gopacket(Debian 14) | = 1.3.0-2; All versions | No fix listed | No fix yet |
| debian/gopacket(Debian 12) | = 1.1.19-3; = 1.1.19-4; = 1.1.19-5; = 1.1.19-6 +3 more | No fix listed | No fix yet |
| debian/gopacket(Debian 13) | = 1.1.19-6.2; All versions | No fix listed | No fix yet |
| debian/gopacket(Debian 14) | = 1.1.19-6.2; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gopacket-gopacket(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gopacket-gopacket(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gopacket-gopacket(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/gopacket(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/gopacket(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/gopacket(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/gopacket(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux telegraf(Azure Linux 3.0) | < 1.31.0-30; All versions | 1.31.0-30 | Partially fixed |
| gopacket | < 1.6.1; = < 1.6.1 | 1.6.1 | Fixed |
| gopacket(Go) | < 1.6.1; <= 1.6.0 | 1.6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gopacket | = < 1.6.1 | No fix listed |
| gopacket(Go) | < 1.6.1 | 1.6.1 |
| gopacket(Go) | <= 1.6.0 | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:12) | All versions | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:12) | = 1.0.0-1 | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:12) | = 1.2.0-1 | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:12) | = 1.2.0-2 | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:12) | = 1.3.0-1 | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:12) | = 1.3.0-2 | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:13) | All versions | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:13) | = 1.3.0-2 | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:14) | All versions | No fix listed |
| debian/golang-github-gopacket-gopacket(Debian:14) | = 1.3.0-2 | No fix listed |
| debian/gopacket(Debian:12) | All versions | No fix listed |
| debian/gopacket(Debian:12) | = 1.1.19-3 | No fix listed |
| debian/gopacket(Debian:12) | = 1.1.19-4 | No fix listed |
| debian/gopacket(Debian:12) | = 1.1.19-5 | No fix listed |
| debian/gopacket(Debian:12) | = 1.1.19-6 | No fix listed |
| debian/gopacket(Debian:12) | = 1.1.19-6.1 | No fix listed |
| debian/gopacket(Debian:12) | = 1.1.19-6.2 | No fix listed |
| debian/gopacket(Debian:13) | All versions | No fix listed |
| debian/gopacket(Debian:13) | = 1.1.19-6.2 | No fix listed |
| debian/gopacket(Debian:14) | All versions | No fix listed |
| debian/gopacket(Debian:14) | = 1.1.19-6.2 | No fix listed |
| ubuntu/gopacket(Ubuntu:22.04) | All versions | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/golang-github-gopacket-gopacket(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gopacket(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-gopacket-gopacket(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gopacket(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-gopacket-gopacket(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gopacket(Ubuntu:26.10) | All versions | No fix listed |
| gopacket | < 1.6.1 | 1.6.1 |
| azure linux telegraf(Azure Linux:3.0) | < 1.31.0-30 | 1.31.0-30 |
| azure linux telegraf(Azure Linux:3.0) | All versions | No fix listed |
References
- https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563 exploit third-party-advisory vendor-advisory
- https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc patch
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1 release-notes
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases patch vendor-advisory
- github.com product
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2508128 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-54332 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking