{"api_version":"1","generated_at":"2026-04-25T13:02:34+00:00","cve":"CVE-2026-31679","urls":{"html":"https://cve.report/CVE-2026-31679","api":"https://cve.report/api/cve/CVE-2026-31679.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31679","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31679"},"summary":{"title":"openvswitch: validate MPLS set/set_masked payload length","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-25 09:16:01","updated_at":"2026-04-25 09:16:01"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700","name":"https://git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6","name":"https://git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036","name":"https://git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f","name":"https://git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61","name":"https://git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a","name":"https://git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997","name":"https://git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e","name":"https://git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31679","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31679","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 4cae986225f8b8679ad86b924918e7d75a96aa61 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 8ed7b9930cbc3bc71f868fa79a68700ac88d586a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 c1f97152df8dfb17e855ddf0fc409b7bd13e9700 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 98de18d327ef8cbbb704980e359e4872d8c28997 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 bd50c7484c3bb34097571c1334174fb8b7408036 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 2ca33b88a79ca42f017ae0f7011280325655438e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 546b68ac893595877ffbd7751e5c55fd1c43ede6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.5","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.253 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.203 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.168 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.131 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.80 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.21 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.11 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/openvswitch/flow_netlink.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f","status":"affected","version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","versionType":"git"},{"lessThan":"4cae986225f8b8679ad86b924918e7d75a96aa61","status":"affected","version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","versionType":"git"},{"lessThan":"8ed7b9930cbc3bc71f868fa79a68700ac88d586a","status":"affected","version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","versionType":"git"},{"lessThan":"c1f97152df8dfb17e855ddf0fc409b7bd13e9700","status":"affected","version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","versionType":"git"},{"lessThan":"98de18d327ef8cbbb704980e359e4872d8c28997","status":"affected","version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","versionType":"git"},{"lessThan":"bd50c7484c3bb34097571c1334174fb8b7408036","status":"affected","version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","versionType":"git"},{"lessThan":"2ca33b88a79ca42f017ae0f7011280325655438e","status":"affected","version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","versionType":"git"},{"lessThan":"546b68ac893595877ffbd7751e5c55fd1c43ede6","status":"affected","version":"fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/openvswitch/flow_netlink.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.5"},{"lessThan":"5.5","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.253","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.203","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.168","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.131","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.80","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.21","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.253","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.203","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.168","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.131","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.80","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.21","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.11","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"5.5","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-04-25T08:46:55.584Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31679","datePublished":"2026-04-25T08:46:55.584Z","dateReserved":"2026-03-09T15:48:24.130Z","dateUpdated":"2026-04-25T08:46:55.584Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-25 09:16:01","lastModifiedDate":"2026-04-25 09:16:01","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31679","Ordinal":"1","Title":"openvswitch: validate MPLS set/set_masked payload length","CVE":"CVE-2026-31679","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31679","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"openvswitch: validate MPLS set/set_masked payload length"}]}}}