Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gopacket | Gopacket | < 1.6.1 |
Related Weaknesses (CWE)
References
- https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449cPatch
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1Release Notes
- https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5ExploitThird Party Advisory
- https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5ExploitThird Party Advisory
FAQ
What is CVE-2026-54345?
CVE-2026-54345 is a vulnerability with a CVSS score of 7.5 (HIGH). 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-controll...
How severe is CVE-2026-54345?
CVE-2026-54345 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-54345?
Check the references section above for vendor advisories and patch information. Affected products include: Gopacket Gopacket.