Live threats

All CVEs / Gopacket

CVE-2026-54345Gopacket

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-191, 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 Diameter AVP decoder computes an AVP data length by subtracting a fixed header size from an attacker-controlled AVP Length field, so a vendor-flagged AVP whose Length is smaller than the 12-byte header underflows the unsigned 32-bit value and drives an unbounded allocation of roughly 4 GiB, and two such messages in succession OOM-kill a collector, causing 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-6r28-9ppf-4hj5, GO-2026-6121). 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.