{
  "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-2025-40099",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40099",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-30T09:48:05.859Z",
    "updatedAt": "2026-10-15T22:02:37.745Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "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": "cifs: parse_dfs_referrals: prevent oob on malformed input",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: parse_dfs_referrals: prevent oob on malformed input\n\nMalicious SMB server can send invalid reply to FSCTL_DFS_GET_REFERRALS\n\n- reply smaller than sizeof(struct get_dfs_referral_rsp)\n- reply with number of referrals smaller than NumberOfReferrals in the\nheader\n\nProcessing of such replies will cause oob.\n\nReturn -EINVAL error on such replies to prevent oob-s.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4ecce920e13ace16a5ba45efe8909946c28fb2ad",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cfacc7441f760e4a73cc71b6ff1635261d534657"
            },
            {
              "version": "4ecce920e13ace16a5ba45efe8909946c28fb2ad",
              "status": "affected",
              "versionType": "git",
              "lessThan": "15c73964da9df994302f579ed14ee5fdbce7a332"
            },
            {
              "version": "4ecce920e13ace16a5ba45efe8909946c28fb2ad",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8bc4a8d39bac23d8b044fd3e2dbfd965f1d9b058"
            },
            {
              "version": "4ecce920e13ace16a5ba45efe8909946c28fb2ad",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bb0f2e66e1ac043a5b238f5bcab4f26f3c317039"
            },
            {
              "version": "4ecce920e13ace16a5ba45efe8909946c28fb2ad",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6447b0e355562a1ff748c4a2ffb89aae7e84d2c9"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.11",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.11"
            },
            {
              "version": "6.1.158",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.114",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.55",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}