Integer underflow in gopacket
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gopacket | gopacket | before 1.6.1 | 1.6.1 | Patch available | CNA |
| — | github.com/gopacket/gopacket (Go) | before 1.6.1 | 1.6.1 | Patch available | GHSA-6r28-9ppf-4hj5 |
- gopacket Vendorgopacket Affected before 1.6.1 Fixed in 1.6.1 Patch available CNA
- github.com/gopacket/gopacket (Go) Vendor— Affected before 1.6.1 Fixed in 1.6.1 Patch available GHSA-6r28-9ppf-4hj5
Remediation
- Fix · CNA gopacket (gopacket) Fixed in 1.6.1
- Fix · GHSA-6r28-9ppf-4hj5 github.com/gopacket/gopacket (Go) Fixed in 1.6.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54345
- 2026-10-03 Alias added: GHSA-6r28-9ppf-4hj5
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More Gopacket vulnerabilities
- TI-2026-39226 Resource allocation without limits in gopacket CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-54345 · CVE Program
- CVE-2026-54345 · NVD
- FIRST EPSS
- GHSA-6r28-9ppf-4hj5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-54345 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences