# CVE-2026-63824: KEYS: fix overflow in keyctl_pkey_params_get_2()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-07-19T12:02:20.406Z
- Modified: 2026-10-22T18:22:18.247Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 00d60fd3b93219ea854220f0fd264b86398cbc53 before 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a; from 00d60fd3b93219ea854220f0fd264b86398cbc53 before b1e247338bc71826a2d2def3e0874c34749df69a; from 00d60fd3b93219ea854220f0fd264b86398cbc53 before 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3; from 00d60fd3b93219ea854220f0fd264b86398cbc53 before 5966e4e2ba213ab7ad559166152eb4f1f170dd2c; from 00d60fd3b93219ea854220f0fd264b86398cbc53 before 5165f1cc727f1322456735df212d8e26ec237a8d; from 00d60fd3b93219ea854220f0fd264b86398cbc53 before b11c1fa32667692a2c0566e10163758e786e430c; from 00d60fd3b93219ea854220f0fd264b86398cbc53 before 670fc6a311ed321522b7fff92cf0fc376b4f6e78; from 00d60fd3b93219ea854220f0fd264b86398cbc53 before cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b; 4.20 (not affected: before 4.20; from 5.10.260 up to 5.10.*; from 5.15.211 up to 5.15.*; from 6.1.177 up to 6.1.*; from 6.6.144 up to 6.6.*; from 6.12.95 up to 6.12.*; from 6.18.38 up to 6.18.*; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.20 before 5.10.260; from 5.11 before 5.15.211; from 5.16 before 6.1.177; from 6.2 before 6.6.144; from 6.7 before 6.12.95; from 6.13 before 6.18.38; from 6.19 before 7.1.3

## References

- <https://git.kernel.org/stable/c/622ec2dcd59f21623f2a7ab773c80ceb7d555e3a> (patch)
- <https://git.kernel.org/stable/c/b1e247338bc71826a2d2def3e0874c34749df69a> (patch)
- <https://git.kernel.org/stable/c/0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3> (patch)
- <https://git.kernel.org/stable/c/5966e4e2ba213ab7ad559166152eb4f1f170dd2c> (patch)
- <https://git.kernel.org/stable/c/5165f1cc727f1322456735df212d8e26ec237a8d> (patch)
- <https://git.kernel.org/stable/c/b11c1fa32667692a2c0566e10163758e786e430c> (patch)
- <https://git.kernel.org/stable/c/670fc6a311ed321522b7fff92cf0fc376b4f6e78> (patch)
- <https://git.kernel.org/stable/c/cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b> (patch)

## Sources

- CVE List: [CVE-2026-63824](https://www.cve.org/CVERecord?id=CVE-2026-63824), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-63824](https://nvd.nist.gov/vuln/detail/CVE-2026-63824), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-63824 · Whole record: https://cve.day/CVE-2026-63824.json · Rebuilt by cve.day 2026-11-25T22:59:28.741Z
