Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-54345 EUVD-2026-49893GHSA-6r28-9ppf-4hj5GO-2026-6121

GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS)

Published Jul 28, 2026 · Updated Jul 28, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
gopacket gopacket < 1.6.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 gopacket +1 No fix yet —
Ubuntu 26.04 LTS gopacket +1 No fix yet —
Ubuntu 24.04 LTS gopacket +1 No fix yet —
Ubuntu 22.04 LTS gopacket No fix yet —
Ubuntu 20.04 LTS gopacket No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS gopacket No fix yet —
Ubuntu 16.04 LTS gopacket No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling calico-node-3.32 +1 3.32.1-r8 —
Wolfi rolling calico-typhad-3.32 +2 3.32.2-r3 —
Wolfi rolling cilium-1.19 +2 1.19.6-r5 —
Wolfi rolling fq 0.17.0-r12 —
Wolfi rolling telegraf-1.38 1.38.4-r17 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gopacket/gopacket < 1.6.1 1.6.1 GHSA-6r28-9ppf-4hj5

Advisories 2

References