CVE-2026-31679 (GCVE-0-2026-31679)

Vulnerability from cvelistv5 – Published: 2026-04-25 08:46 – Updated: 2026-04-25 08:46
VLAI?
Title
openvswitch: validate MPLS set/set_masked payload length
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 , < 68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f (git)
Affected: fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 , < 4cae986225f8b8679ad86b924918e7d75a96aa61 (git)
Affected: fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 , < 8ed7b9930cbc3bc71f868fa79a68700ac88d586a (git)
Affected: fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 , < c1f97152df8dfb17e855ddf0fc409b7bd13e9700 (git)
Affected: fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 , < 98de18d327ef8cbbb704980e359e4872d8c28997 (git)
Affected: fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 , < bd50c7484c3bb34097571c1334174fb8b7408036 (git)
Affected: fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 , < 2ca33b88a79ca42f017ae0f7011280325655438e (git)
Affected: fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 , < 546b68ac893595877ffbd7751e5c55fd1c43ede6 (git)
Create a notification for this product.
    Linux Linux Affected: 5.5
Unaffected: 0 , < 5.5 (semver)
Unaffected: 5.10.253 , ≤ 5.10.* (semver)
Unaffected: 5.15.203 , ≤ 5.15.* (semver)
Unaffected: 6.1.168 , ≤ 6.1.* (semver)
Unaffected: 6.6.131 , ≤ 6.6.* (semver)
Unaffected: 6.12.80 , ≤ 6.12.* (semver)
Unaffected: 6.18.21 , ≤ 6.18.* (semver)
Unaffected: 6.19.11 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-31679",
      "date": "2026-04-25",
      "epss": "0.00024",
      "percentile": "0.06802"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-31679\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-04-25T09:16:01.550\",\"lastModified\":\"2026-04-25T09:16:01.550\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…