CVE-2026-54345 GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS)
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5 exploit third-party-advisory vendor-advisory
- https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311 patch
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1 release-notes
- github.com product
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2508109 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Ubuntu CVE tracker vendor-advisory
- Debian Security Tracker CVE-2026-54345 vendor-advisory