CVE-2026-54345
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.
How to fix
- gopacket gopacket1.6.1 or later
- github.com/gopacket/gopacket1.6.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gopacket gopacket | v < 1.6.1 | 1.6.1 |
| github.com/gopacket/gopacketGo | v < 1.6.1 | 1.6.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.