# CVE-2026-31679: openvswitch: validate MPLS set/set_masked payload length

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-04-25T08:46:55.584Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f; from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 4cae986225f8b8679ad86b924918e7d75a96aa61; from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 8ed7b9930cbc3bc71f868fa79a68700ac88d586a; from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before c1f97152df8dfb17e855ddf0fc409b7bd13e9700; from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 98de18d327ef8cbbb704980e359e4872d8c28997; from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before bd50c7484c3bb34097571c1334174fb8b7408036; from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 2ca33b88a79ca42f017ae0f7011280325655438e; from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 546b68ac893595877ffbd7751e5c55fd1c43ede6; 5.5 (not affected: before 5.5; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.131 up to 6.6.*; from 6.12.80 up to 6.12.*; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux 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; from 6.19 before 6.19.11; 7.0

## References

- <https://git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f> (patch)
- <https://git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61> (patch)
- <https://git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a> (patch)
- <https://git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700> (patch)
- <https://git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997> (patch)
- <https://git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036> (patch)
- <https://git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e> (patch)
- <https://git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6> (patch)

## Sources

- CVE List: [CVE-2026-31679](https://www.cve.org/CVERecord?id=CVE-2026-31679), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-31679](https://nvd.nist.gov/vuln/detail/CVE-2026-31679), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31679 · Whole record: https://cve.day/CVE-2026-31679.json · Rebuilt by cve.day 2026-11-25T22:59:19.591Z
