{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31679","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-03-09T15:48:24.130Z","datePublished":"2026-04-25T08:46:55.584Z","dateUpdated":"2026-08-05T12:24:25.701Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T12:24:25.701Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenvswitch: validate MPLS set/set_masked payload length\n\nvalidate_set() accepted OVS_KEY_ATTR_MPLS as variable-sized payload for\nSET/SET_MASKED actions. In action handling, OVS expects fixed-size\nMPLS key data (struct ovs_key_mpls).\n\nUse the already normalized key_len (masked case included) and reject\nnon-matching MPLS action key sizes.\n\nReject invalid MPLS action payload lengths early."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable path is reached through Open vSwitch generic netlink commands that install or execute datapath actions, not by unauthenticated remote packets alone.\nAC:L - An attacker can craft the malformed MPLS SET/SET_MASKED netlink attributes and an MPLS packet directly; there is no race or victim-controlled timing requirement.\nPR:L - The relevant OVS commands require CAP_NET_ADMIN, but the families are netns-aware and use GENL_UNS_ADMIN_PERM, making them reachable with CAP_NET_ADMIN in a user-created network namespace.\nUI:N - No victim interaction is required once the attacker can send the crafted netlink request or trigger the installed action.\nS:U - The impact remains within the kernel/host networking security authority and does not cross a VM, IOMMU, or similar scope boundary.\nC:H - The invalid MPLS payload length can make action execution read beyond the validated netlink action data from kernel heap storage. Although each read is small, repeated attacker-controlled triggering and heap layout influence make high confidentiality impact the safer defensible choice.\nI:N - The bug causes out-of-bounds reads and attacker-influenced packet MPLS rewriting, but it does not provide a kernel memory write primitive or control-flow modification.\nA:H - The out-of-bounds kernel heap read can trigger a kernel fault or sanitizer-detected panic, and the crafted action can be exercised repeatedly without user interaction."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/openvswitch/flow_netlink.c"],"versions":[{"version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","lessThan":"68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f","status":"affected","versionType":"git"},{"version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","lessThan":"4cae986225f8b8679ad86b924918e7d75a96aa61","status":"affected","versionType":"git"},{"version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","lessThan":"8ed7b9930cbc3bc71f868fa79a68700ac88d586a","status":"affected","versionType":"git"},{"version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","lessThan":"c1f97152df8dfb17e855ddf0fc409b7bd13e9700","status":"affected","versionType":"git"},{"version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","lessThan":"98de18d327ef8cbbb704980e359e4872d8c28997","status":"affected","versionType":"git"},{"version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","lessThan":"bd50c7484c3bb34097571c1334174fb8b7408036","status":"affected","versionType":"git"},{"version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","lessThan":"2ca33b88a79ca42f017ae0f7011280325655438e","status":"affected","versionType":"git"},{"version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","lessThan":"546b68ac893595877ffbd7751e5c55fd1c43ede6","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/openvswitch/flow_netlink.c"],"versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.10.253","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.168","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.131","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.80","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.21","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.11","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.253"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.15.203"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.1.168"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.6.131"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.12.80"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.18.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.19.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"7.0"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f"},{"url":"https://git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61"},{"url":"https://git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a"},{"url":"https://git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700"},{"url":"https://git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997"},{"url":"https://git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036"},{"url":"https://git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e"},{"url":"https://git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6"}],"title":"openvswitch: validate MPLS set/set_masked payload length","x_generator":{"engine":"bippy-1.2.0"}}}}