{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4a651b122adb8d3a9cb1c5dddfd63e708ee9bdd2"
            },
            {
              "fixed": "433f6e7377f62a16287a2720a76e70f56b31b5ba"
            },
            {
              "fixed": "c1bb0e19f4a96d26f3bc5033defd4934ef5c4521"
            },
            {
              "fixed": "49915365ba3f6bb99f79bf81052166ea3b1e1cf6"
            },
            {
              "fixed": "828c3b265b6df877dced3dde56ea41daa2e6181e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.13.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143113.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam - reject overlong RSA CRT parameters\n\ncaam_read_rsa_crt() right-aligns dP, dQ, and qInv in buffers sized\nfrom the corresponding prime. rsa_parse_priv_key() only bounds these\nintegers against n, so a malformed key can provide, for example, a\ntwo-byte dP with a one-byte p. dstlen - nbytes then underflows and\nmemcpy() writes outside the allocation during set_priv_key(). KASAN\nreports a slab-out-of-bounds write in caam_read_rsa_crt().\n\nReject empty or overlong CRT parameters after stripping leading zeros.\nqInv is consumed by CAAM as a p-sized value, so size it from p rather\nthan q to match the DMA mapping in set_rsa_priv_f3_pdb(). Let the\ntop-level key cleanup handle partial form-3 allocations and return the\nspecific error to the caller.\n\nAlso test nbytes before dereferencing it while stripping zeros, so an\nall-zero integer does not read one byte beyond its input.",
  "id": "CVE-2026-143113",
  "modified": "2026-12-03T10:45:15.663649016Z",
  "published": "2026-12-03T09:19:27.623Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/433f6e7377f62a16287a2720a76e70f56b31b5ba"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/49915365ba3f6bb99f79bf81052166ea3b1e1cf6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/828c3b265b6df877dced3dde56ea41daa2e6181e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c1bb0e19f4a96d26f3bc5033defd4934ef5c4521"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143113.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143113"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "crypto: caam - reject overlong RSA CRT parameters"
}