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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gopacket/gopacket | 1.6.1 | GO-2026-6121 |
| Go | github.com/gopacket/gopacket | 1.6.1 | GHSA-6r28-9ppf-4hj5 |
| Ubuntu:24.04:LTS | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-54345 |
| Ubuntu:26.04:LTS | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-54345 |
| Ubuntu:26.10 | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-54345 |
| Ubuntu:22.04:LTS | gopacket | no fix listed | UBUNTU-CVE-2026-54345 |
| Ubuntu:24.04:LTS | gopacket | no fix listed | UBUNTU-CVE-2026-54345 |
| Ubuntu:26.04:LTS | gopacket | no fix listed | UBUNTU-CVE-2026-54345 |
| Ubuntu:26.10 | gopacket | no fix listed | UBUNTU-CVE-2026-54345 |
Affected products (as reported)
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
- https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5 x_refsource_CONFIRM
- https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311 x_refsource_MISC
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1 x_refsource_MISC