Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139559

published

seg6: fix HMAC validation when an extension header precedes the SRH

Published
30 Nov 2026, 13:35:52 UTC
Updated
30 Nov 2026, 13:35:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux5829d70b0b6cd055e7a9af3abe573927e919e30b to < bbc1987204ea8eff0b3ea325a2239ec1c956371b · 5829d70b0b6cd055e7a9af3abe573927e919e30b to < 7a854e18c2748ab4b2abb8edb35020d9292165c0 · 5829d70b0b6cd055e7a9af3abe573927e919e30b to < 771d35303f7ab9fc7b422ce254269a2868c58809 · 5829d70b0b6cd055e7a9af3abe573927e919e30b to < 3c82e978a0b0a45f521b8c200c037d50d66080e8 · 5829d70b0b6cd055e7a9af3abe573927e919e30b to < f9cb4d296d81adb0923546ca5d54fae57a81af52 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.14 (affected) · 0 to < 4.14 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

Description

In the Linux kernel, the following vulnerability has been resolved: seg6: fix HMAC validation when an extension header precedes the SRH seg6_hmac_validate_skb() derived the SRH from skb_transport_header(). That only holds while the two coincide, which is not true on the seg6_local input path. ip6_rcv_core() leaves the transport header just past the IPv6 header. A Hop-by-Hop options header is consumed before the route lookup and advances it, but a Destination Options header is not: the seg6_local lwtunnel is entered through an input redirect from the route lookup, which bypasses the extension header handlers. The transport header then still points at the Destination Options header while seg6_get_srh() has located the real SRH further down the chain. The HMAC is therefore computed over the Destination Options header, and a packet carrying a valid HMAC TLV is dropped when seg6_require_hmac is set. Such a packet is legitimate: RFC 8200 allows Destination Options before a routing header, and get_srh() has walked the header chain since commit 5829d70b0b6c ("ipv6: sr: fix get_srh() to comply with IPv6 standard "RFC 8200""). With a Fragment or an Authentication header in front of the SRH, the same mistake also reads past the data pulled by seg6_get_srh(). This happens before seg6_require_hmac is read, so the default configuration is affected. Reproduce by giving a node a seg6local End SID with net.ipv6.conf.<dev>.seg6_require_hmac=1 and a key installed with "ip sr hmac set <keyid> sha1", then sending IPv6 -> Destination Options -> SRH (carrying a valid HMAC TLV) -> payload to that SID: it is dropped, while the same packet without the Destination Options header passes.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 5829d70b0b6cd055e7a9af3abe573927e919e30b to < bbc1987204ea8eff0b3ea325a2239ec1c956371b (affected · git)5829d70b0b6cd055e7a9af3abe573927e919e30b to < 7a854e18c2748ab4b2abb8edb35020d9292165c0 (affected · git)5829d70b0b6cd055e7a9af3abe573927e919e30b to < 771d35303f7ab9fc7b422ce254269a2868c58809 (affected · git)5829d70b0b6cd055e7a9af3abe573927e919e30b to < 3c82e978a0b0a45f521b8c200c037d50d66080e8 (affected · git)5829d70b0b6cd055e7a9af3abe573927e919e30b to < f9cb4d296d81adb0923546ca5d54fae57a81af52 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.14 (affected)0 to < 4.14 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

seg6: fix HMAC validation when an extension header precedes the SRH

Provenance

Schema
5.2
Searchable
yes
Content hash
8aafc2aea5f8159d68569e641d4b2aae34b9af3c16696acc86667945d8b38d73
Ingested
30 Nov 2026, 13:42:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected