{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-31681",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31681",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-25T08:46:57.995Z",
    "updatedAt": "2026-10-15T01:17:49.413Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "netfilter: xt_multiport: validate range encoding in checkentry",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: xt_multiport: validate range encoding in checkentry\n\nports_match_v1() treats any non-zero pflags entry as the start of a\nport range and unconditionally consumes the next ports[] element as\nthe range end.\n\nThe checkentry path currently validates protocol, flags and count, but\nit does not validate the range encoding itself. As a result, malformed\nrules can mark the last slot as a range start or place two range starts\nback to back, leaving ports_match_v1() to step past the last valid\nports[] element while interpreting the rule.\n\nReject malformed multiport v1 rules in checkentry by validating that\neach range start has a following element and that the following element\nis not itself marked as another range start.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a89ecb6a2ef732d04058d87801e2b6bd7e5c7089",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8c5bf8f5b478f569191c4a7982de7cd5f5f73c1a"
            },
            {
              "version": "a89ecb6a2ef732d04058d87801e2b6bd7e5c7089",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c9749f6232c845e31c21d4cc72200211df15d8a2"
            },
            {
              "version": "a89ecb6a2ef732d04058d87801e2b6bd7e5c7089",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b67d638cbee9975c765feb45c126e96ed11ec802"
            },
            {
              "version": "a89ecb6a2ef732d04058d87801e2b6bd7e5c7089",
              "status": "affected",
              "versionType": "git",
              "lessThan": "36bf0d98e180a7c384c8d8a59b0d2d4b80e5eb16"
            },
            {
              "version": "a89ecb6a2ef732d04058d87801e2b6bd7e5c7089",
              "status": "affected",
              "versionType": "git",
              "lessThan": "aec14808271f2bf2b656de6ff12dfe73c5fd3b67"
            },
            {
              "version": "a89ecb6a2ef732d04058d87801e2b6bd7e5c7089",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8368ce8eb01f0b91111d814703696e780d0ef12f"
            },
            {
              "version": "a89ecb6a2ef732d04058d87801e2b6bd7e5c7089",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1e4baa853f1cc4227e04f52d6860524707cfb294"
            },
            {
              "version": "a89ecb6a2ef732d04058d87801e2b6bd7e5c7089",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ff64c5bfef12461df8450e0f50bb693b5269c720"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.17",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.17"
            },
            {
              "version": "5.10.258",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.209",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.175",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.136",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.83",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.24",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19.14",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.19.*"
            },
            {
              "version": "7.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}