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.
PUBLISHED5.2CWE-125CWE-129
gopacket: SCTP chunk sub-decoder out-of-bounds panics on crafted segments
Problem type
Affected products
gopacket
gopacket
< 1.7.2 - AFFECTED
References
https://github.com/gopacket/gopacket/security/advisories/GHSA-358w-w75h-x6rx
https://github.com/gopacket/gopacket/security/advisories/GHSA-358w-w75h-x6rx
https://github.com/gopacket/gopacket/commit/508044327cc2c065b3db753c010a027e7d1ca621
https://github.com/gopacket/gopacket/commit/508044327cc2c065b3db753c010a027e7d1ca621
https://github.com/gopacket/gopacket/releases/tag/v1.7.2
https://github.com/gopacket/gopacket/releases/tag/v1.7.2
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-119299Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-119299",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"dateUpdated": "2026-10-30T16:54:01.623Z",
"dateReserved": "2026-10-29T18:50:28.066Z",
"datePublished": "2026-10-30T16:23:51.655Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-10-30T16:23:51.655Z"
},
"title": "gopacket: SCTP chunk sub-decoder out-of-bounds panics on crafted segments",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "gopacket",
"product": "gopacket",
"versions": [
{
"version": "< 1.7.2",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-125: Out-of-bounds Read",
"cweId": "CWE-125",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"lang": "en",
"description": "CWE-129: Improper Validation of Array Index",
"cweId": "CWE-129",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/gopacket/gopacket/security/advisories/GHSA-358w-w75h-x6rx",
"name": "https://github.com/gopacket/gopacket/security/advisories/GHSA-358w-w75h-x6rx",
"tags": [
"x_refsource_CONFIRM"
]
},
{
"url": "https://github.com/gopacket/gopacket/commit/508044327cc2c065b3db753c010a027e7d1ca621",
"name": "https://github.com/gopacket/gopacket/commit/508044327cc2c065b3db753c010a027e7d1ca621",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/gopacket/gopacket/releases/tag/v1.7.2",
"name": "https://github.com/gopacket/gopacket/releases/tag/v1.7.2",
"tags": [
"x_refsource_MISC"
]
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH",
"baseScore": 5.9,
"baseSeverity": "MEDIUM"
}
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-30T16:54:01.623Z"
},
"title": "CISA ADP Vulnrichment",
"references": [
{
"url": "https://github.com/gopacket/gopacket/security/advisories/GHSA-358w-w75h-x6rx",
"tags": [
"exploit"
]
}
],
"metrics": [
{}
]
}
]
}
}