CVE-2026-54345 Details
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.
A denial-of-service vulnerability has been identified in the Gopacket library, specifically in the Diameter AVP decoder, prior to version 1.6.1. The issue arises because the decoder calculates the AVP data length by subtracting a fixed header size from an attacker-controlled AVP Length field. When a vendor-flagged AVP has a Length smaller than the 12-byte header, this creates an underflow in the unsigned 32-bit value, leading to an unbounded allocation of approximately 4 GiB. Sending two such messages in succession causes the collector to run out of memory and be terminated, resulting in an unauthenticated remote denial-of-service condition.
Users can upgrade to Gopacket version 1.6.1, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311 | [email protected] | Patch |
| https://github.com/gopacket/gopacket/releases/tag/v1.6.1 | [email protected] | Release Notes |
| https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gopacket gopacket | < 1.6.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | Initial Analysis | [email protected] |
| Jul 28, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2026 | New CVE Received | [email protected] |