{"id":"UBUNTU-CVE-2026-54332","details":"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.","modified":"2026-08-06T22:15:23.112579794Z","published":"2026-07-28T17:16:00Z","upstream":["CVE-2026-54332"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-54332"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-54332"},{"type":"REPORT","url":"https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563"}],"affected":[{"package":{"name":"gopacket","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gopacket?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.10-1","1.1.11-1","1.1.11-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-google-gopacket-dev","binary_version":"1.1.11-2"},{"binary_name":"golang-gopacket-dev","binary_version":"1.1.11-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"}},{"package":{"name":"gopacket","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gopacket?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.12-2","1.1.13-1","1.1.14-1","1.1.14-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-google-gopacket-dev","binary_version":"1.1.14-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"}},{"package":{"name":"gopacket","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gopacket?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.14-3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-google-gopacket-dev","binary_version":"1.1.14-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"}},{"package":{"name":"gopacket","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gopacket?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.19-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-google-gopacket-dev","binary_version":"1.1.19-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"}},{"package":{"name":"golang-github-gopacket-gopacket","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-gopacket-gopacket?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-1","1.2.0-1","1.2.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-gopacket-gopacket-dev","binary_version":"1.2.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"}},{"package":{"name":"gopacket","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/gopacket?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.19-3","1.1.19-4","1.1.19-6"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.19-6","binary_name":"golang-github-google-gopacket-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"}},{"package":{"name":"golang-github-gopacket-gopacket","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-gopacket-gopacket?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-gopacket-gopacket-dev","binary_version":"1.3.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"}},{"package":{"name":"gopacket","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/gopacket?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.19-6.2","1.1.19-6.2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-google-gopacket-dev","binary_version":"1.1.19-6.2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}