p PatchFirst

CVE-2026-54332

CVE-2026-54332 · GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to 16 GiB make) -> unauthenticated remote DoS

CVSS 6.9 · Medium · EPSS 0.8%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-gopacket-gopacket"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • gopacket

    Versions
    • < 1.6.1: Affected

    No fix published

  • golang-github-gopacket-gopacket Debian 12

    Versions
    • 1.0.0-1
    • 1.2.0-1
    • 1.2.0-2
    • 1.3.0-1
    • 1.3.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-gopacket-gopacket Debian 13

    Versions
    • 1.3.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-gopacket-gopacket Debian 14

    Versions
    • 1.3.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Debian 12

    Versions
    • 1.1.19-3
    • 1.1.19-4
    • 1.1.19-5
    • 1.1.19-6
    • 1.1.19-6.1
    • 1.1.19-6.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Debian 13

    Versions
    • 1.1.19-6.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Debian 14

    Versions
    • 1.1.19-6.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Ubuntu 16.04 LTS

    Versions
    • 1.1.10-1
    • 1.1.11-1
    • 1.1.11-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Ubuntu 18.04 LTS

    Versions
    • 1.1.12-2
    • 1.1.13-1
    • 1.1.14-1
    • 1.1.14-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Ubuntu 20.04 LTS

    Versions
    • 1.1.14-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Ubuntu 22.04 LTS

    Versions
    • 1.1.19-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-gopacket-gopacket Ubuntu 24.04 LTS

    Versions
    • 1.0.0-1
    • 1.2.0-1
    • 1.2.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Ubuntu 24.04 LTS

    Versions
    • 1.1.19-3
    • 1.1.19-4
    • 1.1.19-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-gopacket-gopacket Ubuntu 26.10

    Versions
    • 1.3.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Ubuntu 26.10

    Versions
    • 1.1.19-6.2build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-gopacket-gopacket Ubuntu 26.04 LTS

    Versions
    • 1.3.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gopacket Ubuntu 26.04 LTS

    Versions
    • 1.1.19-6.2
    • 1.1.19-6.2build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →