CVE-2026-63824 (GCVE-0-2026-63824)

Vulnerability from cvelistv5 – Published: 2026-07-19 12:02 – Updated: 2026-08-05 12:36
VLAI
Title
KEYS: fix overflow in keyctl_pkey_params_get_2()
Summary
In the Linux kernel, the following vulnerability has been resolved: KEYS: fix overflow in keyctl_pkey_params_get_2() The length for the internal output buffer is calculated incorrectly, which can result overflow when a too small buffer is provided. Fix the bug by allocating internal output with the size of the maximum length of the cryptographic primitive instead of caller provided size.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 00d60fd3b93219ea854220f0fd264b86398cbc53 , < 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a (git)
Affected: 00d60fd3b93219ea854220f0fd264b86398cbc53 , < b1e247338bc71826a2d2def3e0874c34749df69a (git)
Affected: 00d60fd3b93219ea854220f0fd264b86398cbc53 , < 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3 (git)
Affected: 00d60fd3b93219ea854220f0fd264b86398cbc53 , < 5966e4e2ba213ab7ad559166152eb4f1f170dd2c (git)
Affected: 00d60fd3b93219ea854220f0fd264b86398cbc53 , < 5165f1cc727f1322456735df212d8e26ec237a8d (git)
Affected: 00d60fd3b93219ea854220f0fd264b86398cbc53 , < b11c1fa32667692a2c0566e10163758e786e430c (git)
Affected: 00d60fd3b93219ea854220f0fd264b86398cbc53 , < 670fc6a311ed321522b7fff92cf0fc376b4f6e78 (git)
Affected: 00d60fd3b93219ea854220f0fd264b86398cbc53 , < cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b (git)
Create a notification for this product.
Linux Linux Affected: 4.20
Unaffected: 0 , < 4.20 (semver)
Unaffected: 5.10.260 , ≤ 5.10.* (semver)
Unaffected: 5.15.211 , ≤ 5.15.* (semver)
Unaffected: 6.1.177 , ≤ 6.1.* (semver)
Unaffected: 6.6.144 , ≤ 6.6.* (semver)
Unaffected: 6.12.95 , ≤ 6.12.* (semver)
Unaffected: 6.18.38 , ≤ 6.18.* (semver)
Unaffected: 7.1.3 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "security/keys/keyctl_pkey.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "622ec2dcd59f21623f2a7ab773c80ceb7d555e3a",
              "status": "affected",
              "version": "00d60fd3b93219ea854220f0fd264b86398cbc53",
              "versionType": "git"
            },
            {
              "lessThan": "b1e247338bc71826a2d2def3e0874c34749df69a",
              "status": "affected",
              "version": "00d60fd3b93219ea854220f0fd264b86398cbc53",
              "versionType": "git"
            },
            {
              "lessThan": "0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3",
              "status": "affected",
              "version": "00d60fd3b93219ea854220f0fd264b86398cbc53",
              "versionType": "git"
            },
            {
              "lessThan": "5966e4e2ba213ab7ad559166152eb4f1f170dd2c",
              "status": "affected",
              "version": "00d60fd3b93219ea854220f0fd264b86398cbc53",
              "versionType": "git"
            },
            {
              "lessThan": "5165f1cc727f1322456735df212d8e26ec237a8d",
              "status": "affected",
              "version": "00d60fd3b93219ea854220f0fd264b86398cbc53",
              "versionType": "git"
            },
            {
              "lessThan": "b11c1fa32667692a2c0566e10163758e786e430c",
              "status": "affected",
              "version": "00d60fd3b93219ea854220f0fd264b86398cbc53",
              "versionType": "git"
            },
            {
              "lessThan": "670fc6a311ed321522b7fff92cf0fc376b4f6e78",
              "status": "affected",
              "version": "00d60fd3b93219ea854220f0fd264b86398cbc53",
              "versionType": "git"
            },
            {
              "lessThan": "cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b",
              "status": "affected",
              "version": "00d60fd3b93219ea854220f0fd264b86398cbc53",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "security/keys/keyctl_pkey.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.20"
            },
            {
              "lessThan": "4.20",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.260",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.211",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.177",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.144",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.95",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.38",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.260",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.211",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.177",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.144",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.95",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.38",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.3",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc1",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: fix overflow in keyctl_pkey_params_get_2()\n\nThe length for the internal output buffer is calculated incorrectly, which\ncan result overflow when a too small buffer is provided.\n\nFix the bug by allocating internal output with the size of the maximum\nlength of the cryptographic primitive instead of caller provided size."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is reachable only through the keyctl(2) syscall (KEYCTL_PKEY_ENCRYPT, KEYCTL_PKEY_DECRYPT, or KEYCTL_PKEY_SIGN); there is no network, adjacent, or physical attack path to the affected code.\nAC:L - An attacker fully controls the undersized out_len parameter and can reliably trigger the bug on demand with no races or victim-dependent state; CONFIG_ASYMMETRIC_KEY_TYPE is commonly enabled on server and desktop kernels.\nPR:L - Exploitation requires KEY_NEED_SEARCH on an asymmetric key, which any unprivileged local user can satisfy by loading their own RSA/EC key into a session keyring; no real root or init-namespace capabilities are needed.\nUI:N - Exploitation requires only attacker-initiated keyctl calls and does not depend on any victim user action such as opening a file or mounting a filesystem.\nS:U - Impact is confined to kernel heap memory corruption and privilege escalation within the same kernel security boundary; this is not a VM escape, sandbox escape, or cross-authority boundary violation.\nC:H - When out_len is smaller than the cryptographic output (including out_len=0 where kmalloc(0) yields ZERO_SIZE_PTR), asym_eds_op returns the full primitive output size and copy_to_user reads far beyond the allocated buffer, leaking adjacent kernel heap contents to userspace.\nI:H - The undersized kmalloc buffer is passed directly as the crypto output target; asymmetric operations can write up to the primitive maximum (hundreds of bytes for RSA-4096) past the allocation, enabling heap corruption and potential control-flow hijacking.\nA:H - Heap out-of-bounds read/write against kmalloc objects or writes through ZERO_SIZE_PTR can cause kernel oops, panic, or KASAN-detected corruption, satisfying high availability impact."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:36:07.930Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/622ec2dcd59f21623f2a7ab773c80ceb7d555e3a"
        },
        {
          "url": "https://git.kernel.org/stable/c/b1e247338bc71826a2d2def3e0874c34749df69a"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3"
        },
        {
          "url": "https://git.kernel.org/stable/c/5966e4e2ba213ab7ad559166152eb4f1f170dd2c"
        },
        {
          "url": "https://git.kernel.org/stable/c/5165f1cc727f1322456735df212d8e26ec237a8d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b11c1fa32667692a2c0566e10163758e786e430c"
        },
        {
          "url": "https://git.kernel.org/stable/c/670fc6a311ed321522b7fff92cf0fc376b4f6e78"
        },
        {
          "url": "https://git.kernel.org/stable/c/cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b"
        }
      ],
      "title": "KEYS: fix overflow in keyctl_pkey_params_get_2()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-63824",
    "datePublished": "2026-07-19T12:02:20.406Z",
    "dateReserved": "2026-07-19T07:54:57.014Z",
    "dateUpdated": "2026-08-05T12:36:07.930Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-63824",
      "date": "2026-08-11",
      "epss": "0.00127",
      "percentile": "0.02773"
    },
    "microsoft_vex": {
      "current_release_date": "2026-07-21T01:44:03.000Z",
      "cve": "CVE-2026-63824",
      "id": "msrc_CVE-2026-63824",
      "initial_release_date": "2026-07-20T01:06:11.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "KEYS: fix overflow in keyctl_pkey_params_get_2()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-63824.json",
      "version": "3"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-63824\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T12:16:55.583\",\"lastModified\":\"2026-07-27T17:44:23.777\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nKEYS: fix overflow in keyctl_pkey_params_get_2()\\n\\nThe length for the internal output buffer is calculated incorrectly, which\\ncan result overflow when a too small buffer is provided.\\n\\nFix the bug by allocating internal output with the size of the maximum\\nlength of the cryptographic primitive instead of caller provided size.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"security/keys/keyctl_pkey.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"00d60fd3b93219ea854220f0fd264b86398cbc53\",\"lessThan\":\"622ec2dcd59f21623f2a7ab773c80ceb7d555e3a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00d60fd3b93219ea854220f0fd264b86398cbc53\",\"lessThan\":\"b1e247338bc71826a2d2def3e0874c34749df69a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00d60fd3b93219ea854220f0fd264b86398cbc53\",\"lessThan\":\"0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00d60fd3b93219ea854220f0fd264b86398cbc53\",\"lessThan\":\"5966e4e2ba213ab7ad559166152eb4f1f170dd2c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00d60fd3b93219ea854220f0fd264b86398cbc53\",\"lessThan\":\"5165f1cc727f1322456735df212d8e26ec237a8d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00d60fd3b93219ea854220f0fd264b86398cbc53\",\"lessThan\":\"b11c1fa32667692a2c0566e10163758e786e430c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00d60fd3b93219ea854220f0fd264b86398cbc53\",\"lessThan\":\"670fc6a311ed321522b7fff92cf0fc376b4f6e78\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00d60fd3b93219ea854220f0fd264b86398cbc53\",\"lessThan\":\"cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"security/keys/keyctl_pkey.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.20\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.20\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.260\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.211\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.177\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.144\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.95\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.38\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.3\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5165f1cc727f1322456735df212d8e26ec237a8d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5966e4e2ba213ab7ad559166152eb4f1f170dd2c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/622ec2dcd59f21623f2a7ab773c80ceb7d555e3a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/670fc6a311ed321522b7fff92cf0fc376b4f6e78\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b11c1fa32667692a2c0566e10163758e786e430c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b1e247338bc71826a2d2def3e0874c34749df69a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-07-20T17:23:48+00:00",
      "cve": "CVE-2026-63824",
      "id": "CVE-2026-63824",
      "initial_release_date": "2026-07-19T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: KEYS: fix overflow in keyctl_pkey_params_get_2()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-63824.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-08-10T16:26:20Z",
      "cve": "CVE-2026-63824",
      "id": "CVE-2026-63824",
      "initial_release_date": "2026-07-19T17:34:40Z",
      "product_status:first_fixed": "272",
      "product_status:known_affected": "214",
      "product_status:known_not_affected": "70",
      "product_status:recommended": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-63824",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-63824.json",
      "version": "7"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…