| Name | CVE-2026-54332 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1143055, 1143056 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| golang-github-gopacket-gopacket (PTS) | bookworm | 1.0.0-1 | vulnerable |
| forky, sid, trixie | 1.3.0-2 | vulnerable | |
| gopacket (PTS) | bullseye | 1.1.19-1 | vulnerable |
| bookworm | 1.1.19-3 | vulnerable | |
| forky, sid, trixie | 1.1.19-6.2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| golang-github-gopacket-gopacket | source | (unstable) | (unfixed) | 1143056 | ||
| gopacket | source | (unstable) | (unfixed) | 1143055 |
[trixie] - golang-github-gopacket-gopacket <no-dsa> (Minor issue)
[bookworm] - golang-github-gopacket-gopacket <postponed> (minor issue; DoS; limited go language support)
[bullseye] - golang-github-gopacket-gopacket <postponed> (minor issue; DoS; limited go language support)
[trixie] - gopacket <no-dsa> (Minor issue)
[bookworm] - gopacket <postponed> (minor issue; DoS; limited go language support)
[bullseye] - gopacket <postponed> (minor issue; DoS; limited go language support)
https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563
Fixed by: https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc (v1.6.1)