Junglewise Threat Intelligence

CVE-2026-63824: Linux Kernel buffer overflow in keyctl_pkey_params_get_2

CVE-2026-63824 · Severity: info · Published 2026-07-19

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's key management system, which handles security credentials and cryptographic keys. An error in how the system calculates memory requirements for certain cryptographic operations could allow a local attacker to cause a buffer overflow. This could potentially lead to a system crash or unauthorized access to sensitive information stored in the kernel.

Technical details

A buffer overflow vulnerability exists in 'security/keys/keyctl_pkey.c' within the 'keyctl_pkey_params_get_2()' function of the Linux kernel. The root cause is an incorrect calculation of the internal output buffer length; specifically, the kernel was using a caller-provided size instead of the maximum length required by the cryptographic primitive. This flaw can be triggered during KEYCTL_PKEY_ENCRYPT, DECRYPT, SIGN, or VERIFY operations if a user provides a buffer size that is too small. A local attacker could exploit this to cause memory corruption. The fix involves ensuring the internal output buffer is allocated based on the maximum length of the cryptographic primitive (e.g., info.max_enc_size, info.max_sig_size) rather than the user-supplied length.

Affected products

  • Linux Linux Kernel v4.20 to v6.13.y

Timeline

  • 2026-06-01: other: Vulnerability fixed in upstream commits
  • 2026-07-19: disclosed: CVE published to NVD

References

Related threats