gopacket provides packet processing capabilities for Go. (CVE-2026-54332)
gopacket versions 1.6.0 and earlier contain a vulnerability in the sFlow ExtendedGatewayFlow decoder that allows an attacker to cause a denial of service by triggering a large memory allocation from a small UDP datagram. This issue is fixed in version 1.6.1.
AI Analysis
Technical Summary
The gopacket library for Go, in versions 1.6.0 and earlier, has a vulnerability in the sFlow ExtendedGatewayFlow decoder where it reads attacker-controlled 32-bit community count and AS path member count values without validating them against the remaining datagram size. This can cause the program to allocate an excessively large slice (up to 16 GiB) from a small 104-byte UDP datagram, leading to an unauthenticated remote denial of service. The vulnerability is addressed in version 1.6.1.
Potential Impact
An unauthenticated remote attacker can send a specially crafted UDP datagram to trigger a large memory allocation, potentially causing the affected application to crash or become unresponsive, resulting in a denial of service condition. There is no impact on confidentiality or integrity.
Mitigation Recommendations
Upgrade gopacket to version 1.6.1 or later, where this issue is fixed. No other mitigations are indicated by the vendor advisory.
gopacket provides packet processing capabilities for Go. (CVE-2026-54332)
Description
gopacket versions 1.6.0 and earlier contain a vulnerability in the sFlow ExtendedGatewayFlow decoder that allows an attacker to cause a denial of service by triggering a large memory allocation from a small UDP datagram. This issue is fixed in version 1.6.1.
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/gopacket?arch=source&distro=xenialpkg:deb/ubuntu/gopacket?arch=source&distro=bionicpkg:deb/ubuntu/gopacket?arch=source&distro=focalpkg:deb/ubuntu/gopacket?arch=source&distro=jammypkg:deb/ubuntu/golang-github-gopacket-gopacket?arch=source&distro=noblepkg:deb/ubuntu/gopacket?arch=source&distro=noblepkg:deb/ubuntu/golang-github-gopacket-gopacket?arch=source&distro=resolutepkg:deb/ubuntu/gopacket?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The gopacket library for Go, in versions 1.6.0 and earlier, has a vulnerability in the sFlow ExtendedGatewayFlow decoder where it reads attacker-controlled 32-bit community count and AS path member count values without validating them against the remaining datagram size. This can cause the program to allocate an excessively large slice (up to 16 GiB) from a small 104-byte UDP datagram, leading to an unauthenticated remote denial of service. The vulnerability is addressed in version 1.6.1.
Potential Impact
An unauthenticated remote attacker can send a specially crafted UDP datagram to trigger a large memory allocation, potentially causing the affected application to crash or become unresponsive, resulting in a denial of service condition. There is no impact on confidentiality or integrity.
Mitigation Recommendations
Upgrade gopacket to version 1.6.1 or later, where this issue is fixed. No other mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-54332
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a757448bf8831d539d9ac4e
Added to database: 08/07/2026, 05:59:36 UTC
Last enriched: 08/07/2026, 06:14:50 UTC
Last updated: 08/07/2026, 12:41:12 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.