Integer overflow in Gopacket
CVE-2026-54345
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.008 · 57.1th percentile
- Published
- 2026-07-28
What to do
- Fixed in
1.6.1- Affected
- 1 affected product
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.008, 57.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gopacket — versions < 1.6.1
Weakness classification (CWE)
References
- https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5 (Exploit, Third Party Advisory)
- https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311 (Patch)
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1 (Release Notes)