CVE-2026-54345
MEDIUM 6.9CVSS 4.0GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS)
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
- 28 Jul 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-191CWE-770
- Also known as
- GHSA-6r28-9ppf-4hj5GO-2026-6121
- Sources
- NVDJSONOSV GHSA-6r28-9ppf-4hj5JSONOSV GO-2026-6121JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gopacket | gopacketcpe:2.3:a:gopacket:gopacket:*:*:*:*:*:go:*:* |
< 1.6.1 | 1.6.1 |
| OSV | Go | github.com/gopacket/gopacket | < 1.6.1 | 1.6.1 |
References
- https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311 · Patch, WEB, FIX
- https://github.com/gopacket/gopacket/releases/tag/v1.6.1 · Release Notes, WEB
- https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5 · Exploit, Third Party Advisory, WEB, ADVISORY
- https://github.com/gopacket/gopacket · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 28 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Jul 2026)