# CVE-2026-54345: GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS)

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-28T16:14:12.097Z
- Modified: 2026-09-10T03:51:10.808Z
- Also known as: GHSA-6r28-9ppf-4hj5, GO-2026-6121
- Weaknesses: CWE-191, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gopacket gopacket: < 1.6.1; before 1.6.1
- github.com/gopacket/gopacket (Go): before 1.6.1

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5> (exploit, advisory, third-party-advisory, web)
- <https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311> (fix, patch, web)
- <https://github.com/gopacket/gopacket/releases/tag/v1.6.1> (release-notes, web)
- <https://github.com/gopacket/gopacket> (package)

## Sources

- CVE List: [CVE-2026-54345](https://www.cve.org/CVERecord?id=CVE-2026-54345), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-6r28-9ppf-4hj5](https://github.com/advisories/GHSA-6r28-9ppf-4hj5), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6121](https://pkg.go.dev/vuln/GO-2026-6121), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-54345](https://nvd.nist.gov/vuln/detail/CVE-2026-54345), Public domain, modified 2026-08-05

---

Page: https://cve.day/CVE-2026-54345 · Whole record: https://cve.day/CVE-2026-54345.json · Rebuilt by cve.day 2026-11-25T22:59:30.352Z
