Vulnerability · Published Jul 28, 2026 · Assigned by GitHub_M

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

Medium 6.9

In plain English

A medium-severity resource allocation without limits in gopacket from gopacket. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.8%top 43.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/gopacket/gopacket1.6.1GO-2026-6121
Gogithub.com/gopacket/gopacket1.6.1GHSA-6r28-9ppf-4hj5
Ubuntu:24.04:LTSgolang-github-gopacket-gopacketno fix listedUBUNTU-CVE-2026-54345
Ubuntu:26.04:LTSgolang-github-gopacket-gopacketno fix listedUBUNTU-CVE-2026-54345
Ubuntu:26.10golang-github-gopacket-gopacketno fix listedUBUNTU-CVE-2026-54345
Ubuntu:22.04:LTSgopacketno fix listedUBUNTU-CVE-2026-54345
Ubuntu:24.04:LTSgopacketno fix listedUBUNTU-CVE-2026-54345
Ubuntu:26.04:LTSgopacketno fix listedUBUNTU-CVE-2026-54345
Ubuntu:26.10gopacketno fix listedUBUNTU-CVE-2026-54345

Affected products (as reported)

VendorProductVersions
gopacket gopacket < 1.6.1

Weakness: CWE-191, CWE-770 · 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

References