golang-github-gopacket-gopacket, gopacket — security advisory
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.
- Products
- golang-github-gopacket-gopacket, gopacket
- Affected versions
- 1.0.0-1, 1.1.10-1, 1.1.11-1, 1.1.11-2, 1.1.12-2, 1.1.13-1, 1.1.14-1, 1.1.14-2, 1.1.14-3, 1.1.19-1, 1.1.19-3, 1.1.19-4, 1.1.19-6, 1.1.19-6.2, 1.1.19-6.2build1, 1.2.0-1, 1.2.0-2, 1.3.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54332
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:45 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-54332
gopacket
Fixed versions: Not specified
gopacket
Fixed versions: Not specified
gopacket
Fixed versions: Not specified
gopacket
Fixed versions: Not specified
golang-github-gopacket-gopacket
Fixed versions: Not specified
gopacket
Fixed versions: Not specified
golang-github-gopacket-gopacket
Fixed versions: Not specified
gopacket
Fixed versions: Not specified
golang-github-gopacket-gopacket
Fixed versions: Not specified
gopacket
Fixed versions: Not specified
Complete source record
{
"id": "81047e72a628d8d55504f4cde95dbda163bb36b0283de53c93685e5f87883deb",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54332",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-54332",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-54332",
"products": [
{
"name": {
"value": "gopacket",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.10-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.11-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.11-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "gopacket",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.12-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.13-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.14-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.14-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "gopacket",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.14-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "gopacket",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.19-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "golang-github-gopacket-gopacket",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.0-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "gopacket",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.19-3",
"evidence": "/affected/5/versions"
},
{
"value": "1.1.19-4",
"evidence": "/affected/5/versions"
},
{
"value": "1.1.19-6",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "golang-github-gopacket-gopacket",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.0-2",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "gopacket",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.19-6.2build1",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "golang-github-gopacket-gopacket",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.0-2",
"evidence": "/affected/8/versions"
}
]
},
{
"name": {
"value": "gopacket",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.19-6.2",
"evidence": "/affected/9/versions"
},
{
"value": "1.1.19-6.2build1",
"evidence": "/affected/9/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-54332",
"aliases": [
"UBUNTU-CVE-2026-54332"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gopacket",
"purl": "pkg:deb/ubuntu/gopacket?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.1.10-1",
"1.1.11-1",
"1.1.11-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gopacket",
"purl": "pkg:deb/ubuntu/gopacket?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.1.12-2",
"1.1.13-1",
"1.1.14-1",
"1.1.14-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-google-gopacket-dev",
"binary_version": "1.1.14-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gopacket",
"purl": "pkg:deb/ubuntu/gopacket?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.1.14-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-google-gopacket-dev",
"binary_version": "1.1.14-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gopacket",
"purl": "pkg:deb/ubuntu/gopacket?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.1.19-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-google-gopacket-dev",
"binary_version": "1.1.19-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gopacket-gopacket",
"purl": "pkg:deb/ubuntu/golang-github-gopacket-gopacket?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.0.0-1",
"1.2.0-1",
"1.2.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gopacket-gopacket-dev",
"binary_version": "1.2.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gopacket",
"purl": "pkg:deb/ubuntu/gopacket?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.1.19-3",
"1.1.19-4",
"1.1.19-6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-google-gopacket-dev",
"binary_version": "1.1.19-6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gopacket-gopacket",
"purl": "pkg:deb/ubuntu/golang-github-gopacket-gopacket?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.3.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gopacket-gopacket-dev",
"binary_version": "1.3.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gopacket",
"purl": "pkg:deb/ubuntu/gopacket?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-google-gopacket-dev",
"binary_version": "1.1.19-6.2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gopacket-gopacket",
"purl": "pkg:deb/ubuntu/golang-github-gopacket-gopacket?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.3.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54332.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gopacket-gopacket-dev",
"binary_version": "1.3.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gopacket",
"purl": "pkg:deb/ubuntu/gopacket?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.1.19-6.2",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-google-gopacket-dev",
"binary_version": "1.1.19-6.2build1"
}
]
}
}
],
"modified": "2026-10-17T12:59:04.095602225Z",
"provider": "osv",
"upstream": [
"CVE-2026-54332"
],
"references": [
"https://ubuntu.com/security/CVE-2026-54332",
"https://www.cve.org/CVERecord?id=CVE-2026-54332",
"https://github.com/gopacket/gopacket/security/advisories/GHSA-g6v3-7xmc-w563"
]
},
"related_cves": [
{
"value": "CVE-2026-54332",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359257,
"published_at": "2026-07-28T17:16:00+00:00"
}