Skip to content
OpenAdvisories

Description

gopacket provides packet processing capabilities for Go. Prior to 1.7.2, the SCTP chunk chain in layers/sctp.go passes attacker-controlled declared lengths and counts to decodeSCTPInit, decodeSCTPShutdown, decodeSCTPError, decodeSCTPSack, and decodeSCTPParameter without checking that each chunk contains the fixed fields, parameter TLVs, gap acknowledgements, or duplicate TSNs those sub-decoders read. A crafted SCTP segment can therefore cause out-of-bounds or inverted slice panics; the panic can terminate applications that use gopacket.DecodeOptions.SkipDecodeRecovery, direct registered decoders, or DecodingLayerParser with IgnorePanic enabled, while the default recovery-enabled APIs convert it to a per-packet decode error. This is the SCTP sub-decoder residual named but not remediated by CVE-2026-65819, whose version 1.7.1 changes bounded the generic dispatcher but left these per-type reads and loops unchecked. The impact is availability only, with no data disclosure, modification, or allocation amplification. This issue is fixed in version 1.7.2.

Affected products

VendorProductAffectedFixed
gopacket gopacket < 1.7.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-gopacket-gopacket No fix yet —
Debian 13 golang-github-gopacket-gopacket No fix yet —
Debian 12 golang-github-gopacket-gopacket No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-gopacket-gopacket No fix yet —
Ubuntu 26.04 LTS golang-github-gopacket-gopacket No fix yet —
Ubuntu 24.04 LTS golang-github-gopacket-gopacket No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 telegraf No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling calico-node-3.32 +1 3.32.3-r1 —
Wolfi rolling cilium-1.19 +2 1.19.10-r3 —
Wolfi rolling fq 0.18.0-r7 —
Wolfi rolling telegraf-1.38 1.38.4-r39 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gopacket/gopacket < 1.7.2 1.7.2 GHSA-358w-w75h-x6rx

References