Vulnerability · Published Oct 30, 2026 · Assigned by GitHub_M
CVE-2026-119299gopacket: SCTP chunk sub-decoder out-of-bounds panics on crafted segments
Medium 5.9
In plain English
A medium-severity out-of-bounds read in gopacket from gopacket. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-gopacket-gopacket | no fix listed | DEBIAN-CVE-2026-119299 |
| Debian:13 | golang-github-gopacket-gopacket | no fix listed | DEBIAN-CVE-2026-119299 |
| Debian:14 | golang-github-gopacket-gopacket | no fix listed | DEBIAN-CVE-2026-119299 |
| Ubuntu:24.04:LTS | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-119299 |
| Ubuntu:26.04:LTS | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-119299 |
| Ubuntu:26.10 | golang-github-gopacket-gopacket | no fix listed | UBUNTU-CVE-2026-119299 |
Affected products (as reported)
Weakness: CWE-125, CWE-129 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/gopacket/gopacket/security/advisories/GHSA-358w-w75h-x6rx x_refsource_CONFIRM
- https://github.com/gopacket/gopacket/commit/508044327cc2c065b3db753c010a027e7d1ca621 x_refsource_MISC
- https://github.com/gopacket/gopacket/releases/tag/v1.7.2 x_refsource_MISC