What’s Vulnerable › Vulnerabilities
CVE-2026-54345: GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS)
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-28 · updated 2026-08-05
- Weakness: CWE-191
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
- gopacket: before 1.6.1 — fixed in 1.6.1
How to fix
Upgrade to a fixed version: gopacket 1.6.1. Check the vendor advisory for mitigations.
References
- https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1
- https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5
- https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5
Get alerted when CVE-2026-54345 or the next vulnerability affects your stack