# CVE-2026-54332: GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to 16 GiB make) -> 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.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-28T16:17:26.000Z
- Modified: 2026-09-10T03:50:52.074Z
- Also known as: GHSA-g6v3-7xmc-w563, GO-2026-6122
- Weaknesses: 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 sFlow ExtendedGatewayFlow decoder in layers/sflow.go reads an attacker-controlled 32-bit community count and AS path member count and sizes a slice allocation from those counts without bounding them against the bytes remaining in the datagram, so a 104-byte UDP datagram can drive an allocation of up to 16 GiB and cause 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-g6v3-7xmc-w563> (exploit, advisory, third-party-advisory, web)
- <https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc> (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-54332](https://www.cve.org/CVERecord?id=CVE-2026-54332), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-g6v3-7xmc-w563](https://github.com/advisories/GHSA-g6v3-7xmc-w563), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6122](https://pkg.go.dev/vuln/GO-2026-6122), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-54332](https://nvd.nist.gov/vuln/detail/CVE-2026-54332), Public domain, modified 2026-08-05

---

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