# CVE-2026-63824: KEYS: fix overflow in keyctl\_pkey\_params\_get\_2()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-07-19T12:02:20.406Z
- **Modified:** 2026-10-22T18:22:18.247Z

## Who should check

- Anyone running Linux \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< b1e247338bc71826a2d2def3e0874c34749df69a; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 5966e4e2ba213ab7ad559166152eb4f1f170dd2c; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 5165f1cc727f1322456735df212d8e26ec237a8d; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< b11c1fa32667692a2c0566e10163758e786e430c; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 670fc6a311ed321522b7fff92cf0fc376b4f6e78; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b
- Anyone running Linux 4.20

## 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.

## Affected and fixed versions

- Linux: \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< b1e247338bc71826a2d2def3e0874c34749df69a; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 5966e4e2ba213ab7ad559166152eb4f1f170dd2c; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 5165f1cc727f1322456735df212d8e26ec237a8d; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< b11c1fa32667692a2c0566e10163758e786e430c; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 670fc6a311ed321522b7fff92cf0fc376b4f6e78; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63824. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63824.md
Affected: Linux >= 00d60fd3b93219ea854220f0fd264b86398cbc53, < 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a; >= 00d60fd3b93219ea854220f0fd264b86398cbc53, < b1e247338bc71826a2d2def3e0874c34749df69a; >= 00d60fd3b93219ea854220f0fd264b86398cbc53, < 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3; >= 00d60fd3b93219ea854220f…
Fixed in: Linux 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a, Linux 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3, Linux 5966e4e2ba213ab7ad559166152eb4f1f170dd2c, Linux 5165f1cc727f1322456735df212d8e26ec237a8d, Linux 670fc6a311ed321522b7fff92cf0fc376b4f6e78

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63824 being exploited?

There is no confirmed exploitation: CVE-2026-63824 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-63824?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63824?

Linux \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< b1e247338bc71826a2d2def3e0874c34749df69a; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 5966e4e2ba213ab7ad559166152eb4f1f170dd2c; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 5165f1cc727f1322456735df212d8e26ec237a8d; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< b11c1fa32667692a2c0566e10163758e786e430c; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< 670fc6a311ed321522b7fff92cf0fc376b4f6e78; \>= 00d60fd3b93219ea854220f0fd264b86398cbc53, \< cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b; Linux 4.20.

### Is there a fix for CVE-2026-63824?

Yes. Fixed in Linux 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a, Linux 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3, Linux 5966e4e2ba213ab7ad559166152eb4f1f170dd2c, Linux 5165f1cc727f1322456735df212d8e26ec237a8d, Linux 670fc6a311ed321522b7fff92cf0fc376b4f6e78. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-63824?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63824>

HTML: <https://flawdb.com/CVE-2026-63824> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63824>
