{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa"
            },
            {
              "fixed": "901c1dd3bab2955d7e664f914c374c8c3ac2b958"
            },
            {
              "fixed": "e476745917a1e288eb15e7ff49d286a86a4861d3"
            },
            {
              "fixed": "2029712fb2c87e9a8c75094906f2ee29bf08c500"
            },
            {
              "fixed": "602596c69a70e50d9ab8c6ae0290a01f88229dd7"
            },
            {
              "fixed": "de20d2e3b9179d132f5f5b44e490d7c916c6321b"
            },
            {
              "fixed": "eddfce70a6f3107d1679b0c2fcbeb96b593bd679"
            },
            {
              "fixed": "b69c4236255bd8de16cd876e58c6f0867d1d78b1"
            },
            {
              "fixed": "afa9a05e6c4971bd5586f1b304e14d61fb3d9385"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d8be18c52dbc94989f6d74637b731af39cd3d902"
            },
            {
              "last_affected": "3927dace523706cc00f808520eaf2125dd7c07b5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3.12.18"
            },
            {
              "fixed": "3.13"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3.13.10"
            },
            {
              "fixed": "3.14"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.14.0"
            },
            {
              "fixed": "5.10.253"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.203"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.168"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.134"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.81"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.22"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31738.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nvxlan: validate ND option lengths in vxlan_na_create\n\nvxlan_na_create() walks ND options according to option-provided\nlengths. A malformed option can make the parser advance beyond the\ncomputed option span or use a too-short source LLADDR option payload.\n\nValidate option lengths against the remaining NS option area before\nadvancing, and only read source LLADDR when the option is large enough\nfor an Ethernet address.",
  "id": "CVE-2026-31738",
  "modified": "2026-07-08T05:38:30.781566899Z",
  "published": "2026-05-01T14:14:34.900Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2029712fb2c87e9a8c75094906f2ee29bf08c500"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/602596c69a70e50d9ab8c6ae0290a01f88229dd7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/901c1dd3bab2955d7e664f914c374c8c3ac2b958"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/afa9a05e6c4971bd5586f1b304e14d61fb3d9385"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b69c4236255bd8de16cd876e58c6f0867d1d78b1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/de20d2e3b9179d132f5f5b44e490d7c916c6321b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e476745917a1e288eb15e7ff49d286a86a4861d3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eddfce70a6f3107d1679b0c2fcbeb96b593bd679"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31738.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31738"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "vxlan: validate ND option lengths in vxlan_na_create"
}