CVE-2026-54332

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

Configuration 1 (hide)

cpe:2.3:a:gopacket:gopacket:*:*:*:*:*:go:*:*

History

05 Aug 2026, 19:10

Type Values Removed Values Added
References () https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc - () https://github.com/gopacket/gopacket/commit/76119086f5936aacd7088bdf97d565501bb6c4cc - Patch
References () https://github.com/gopacket/gopacket/releases/tag/v1.6.1 - () https://github.com/gopacket/gopacket/releases/tag/v1.6.1 - Release Notes
References () https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563 - () https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563 - Exploit, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Gopacket gopacket
Gopacket
CPE cpe:2.3:a:gopacket:gopacket:*:*:*:*:*:go:*:*

28 Jul 2026, 18:17

Type Values Removed Values Added
References () https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563 - () https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563 -

28 Jul 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-28 17:16

Updated : 2026-08-05 19:10


NVD link : CVE-2026-54332

Mitre link : CVE-2026-54332

CVE.ORG link : CVE-2026-54332


JSON object : View

Products Affected

gopacket

  • gopacket
CWE
CWE-770

Allocation of Resources Without Limits or Throttling