CVE-2026-54332
Received Received - Intake

Denial of Service in gopacket via sFlow ExtendedGatewayFlow Decoder

Vulnerability report for CVE-2026-54332, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-28

Last updated on: 2026-07-28

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-28
Last Modified
2026-07-28
Generated
2026-07-28
AI Q&A
2026-07-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
google gopacket to 1.6.1 (exc)
google gopacket 1.6.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-54332 is an unauthenticated remote denial-of-service vulnerability in the gopacket library affecting the sFlow protocol decoder. It occurs in the sFlow ExtendedGatewayFlow decoder where attacker-controlled 32-bit fields are used to pre-allocate memory before validating the available data size. A small 104-byte UDP datagram can request up to 16 GiB of memory, causing an out-of-memory condition and process termination.

Detection Guidance

Monitor for memory exhaustion or process crashes in applications using gopacket versions <=1.6.0. Check for unusual UDP traffic patterns targeting sFlow ports (default 6343). Use packet capture tools like tcpdump or Wireshark to inspect sFlow ExtendedGatewayFlow records for malformed packets with excessive community or AS path counts.

Impact Analysis

This vulnerability allows an unauthenticated remote attacker to send a specially crafted UDP packet to an sFlow collector using the vulnerable gopacket library, causing it to exhaust system memory and crash. The impact is limited to denial-of-service via process termination due to resource exhaustion, with no memory corruption or code execution.

Compliance Impact

This vulnerability primarily causes an unauthenticated remote denial-of-service via memory exhaustion, which could lead to service disruption. While not directly violating GDPR or HIPAA, such disruptions may impact availability requirements under these regulations. GDPR emphasizes data availability and security, while HIPAA requires safeguards against unauthorized access or disruption. A DoS could hinder access to protected health or personal data, potentially affecting compliance.

Mitigation Strategies

Upgrade gopacket to version 1.6.1 or later. If upgrading is not possible, implement network-level mitigations such as blocking or rate-limiting UDP traffic to sFlow ports. Ensure sFlow collectors validate packet sizes before processing.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54332. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart