Live threats

All CVEs / Gopacket

CVE-2026-54332Gopacket

Medium 6.9 No auth needed

Priority
56
CVSS 4.0
6.9
EPSS
—
Auth required
No
Published
Jul 28, 2026
Updated
Aug 5, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gopacket.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gopacket/gopacket < 1.6.1 1.6.1 go get github.com/gopacket/gopacket@v1.6.1
Go github.com/gopacket/gopacket < 1.6.1 1.6.1 go get github.com/gopacket/gopacket@v1.6.1

Per OSV / GitHub Advisories (GHSA-g6v3-7xmc-w563, GO-2026-6122). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gopacketgopacket< 1.6.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.