{
  "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-31433",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31433",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-22T08:15:11.719Z",
    "updatedAt": "2026-08-05T12:22:27.773Z",
    "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": "ksmbd: fix potencial OOB in get_file_all_info() for compound requests",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix potencial OOB in get_file_all_info() for compound requests\n\nWhen a compound request consists of QUERY_DIRECTORY + QUERY_INFO\n(FILE_ALL_INFORMATION) and the first command consumes nearly the entire\nmax_trans_size, get_file_all_info() would blindly call smbConvertToUTF16()\nwith PATH_MAX, causing out-of-bounds write beyond the response buffer.\nIn get_file_all_info(), there was a missing validation check for\nthe client-provided OutputBufferLength before copying the filename into\nFileName field of the smb2_file_all_info structure.\nIf the filename length exceeds the available buffer space, it could lead to\npotential buffer overflows or memory corruption during smbConvertToUTF16\nconversion. This calculating the actual free buffer size using\nsmb2_calc_max_out_buf_len() and returning -EINVAL if the buffer is\ninsufficient and updating smbConvertToUTF16 to use the actual filename\nlength (clamped by PATH_MAX) to ensure a safe copy operation.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "f2283680a80571ca82d710bc6ecd8f8beac67d63",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3a852f9d1c981fb14f6bf4e24999e0ea8088a7d7"
            },
            {
              "version": "9f297df20d93411c0b4ddad7f88ba04a7cd36e77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4cca3eff2099b18672934a39cee70aed835d652c"
            },
            {
              "version": "e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "358cdaa1f7fbf2712cb4c5f6b59cb9a5c673c5fe"
            },
            {
              "version": "e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7aec5a769d2356cbf344d85bcfd36de592ac96a5"
            },
            {
              "version": "e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b0cd9725fe2bcc9f37d096b132318a9060373f5d"
            },
            {
              "version": "e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9d7032851d6f5adbe2739601ca456c0ad3b422f0"
            },
            {
              "version": "e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "beef2634f81f1c086208191f7228bce1d366493d"
            },
            {
              "version": "5.15.145",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.203"
            },
            {
              "version": "6.1.71",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.168"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.6",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.6"
            },
            {
              "version": "5.15.203",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.168",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.131",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.80",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.21",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.19.*"
            },
            {
              "version": "7.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}