What’s Vulnerable › Vulnerabilities
CVE-2026-31679: openvswitch: validate MPLS set/set_masked payload length
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-25 · updated 2026-10-19
- Weakness: CWE-20
Description
In the Linux kernel, the following vulnerability has been resolved: openvswitch: validate MPLS set/set_masked payload length validate_set() accepted OVS_KEY_ATTR_MPLS as variable-sized payload for SET/SET_MASKED actions. In action handling, OVS expects fixed-size MPLS key data (struct ovs_key_mpls). Use the already normalized key_len (masked case included) and reject non-matching MPLS action key sizes. Reject invalid MPLS action payload lengths early.
Affected products
- Linux kernel: from 5.5 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.168; from 6.2 before 6.6.131; from 6.7 before 6.12.80; from 6.13 before 6.18.21 — fixed in 5.10.253, 5.15.203, 6.1.168, 6.12.80, 6.18.21, 6.19.11
How to fix
Upgrade to a fixed version: Linux kernel 5.10.253, 5.15.203, 6.1.168, 6.12.80. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e
- https://git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61
- https://git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6
- https://git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f
- https://git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a
- https://git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997
- https://git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036
- https://git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700
Get alerted when CVE-2026-31679 or the next vulnerability affects your stack