Skip to content

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

MediumCVSS 6.9 EPSS 0.79%
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 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.

Upgrade path

9 packages: 2 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
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
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

ProductAffected versionsFixed in
gopacket = < 1.6.1 No fix listed
gopacket(Go) < 1.6.1 1.6.1
gopacket(Go) <= 1.6.0 No fix listed
ubuntu/gopacket(Ubuntu:22.04) All versions No fix listed
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

References