CVE-2026-54332

Source
https://cve.org/CVERecord?id=CVE-2026-54332
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54332.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54332
Aliases
Downstream
Published
2026-07-28T16:17:48.796Z
Modified
2026-07-29T03:47:13.912295718Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to 16 GiB make) -> unauthenticated remote DoS
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.

Database specific
{
    "cwe_ids": [
        "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54332.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/gopacket/gopacket

Affected ranges

Type
GIT
Repo
https://github.com/gopacket/gopacket
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.6.1"
        }
    ]
}

Affected versions

v.*
v.1.3.0
v0.*
v0.1.0
v1.*
v1.0.0
v1.1.0
v1.1.1
v1.2.0
v1.3.0
v1.3.1
v1.4.0
v1.5.0
v1.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54332.json"