Linux Kernel Fixes CVE-2025-68724 Buffer Overflow in asymmetric_keys
Patch & Detection Intelligence · 4 sources · Updated 3mo ago · First seen May 20, 2026

A flaw in the Linux kernel crypto asymmetric_keys subsystem, tracked as CVE-2025-68724, was fixed after maintainers found that asymmetric_key_generate_id could overflow while calculating the size of key identifier data derived from X.509 certificate fields. The bug affects kernels dating back to 3.18 and could trigger a buffer overflow when processing maliciously large certificate values, including ASN.1 INTEGER serial numbers and issuer names. Upstream kernel maintainers addressed the issue by adding check_add_overflow() validation and returning ERR_PTR(-EOVERFLOW) when oversized input is detected, with fixes released across multiple stable branches including 6.12.63, 6.17.13, 6.18.2, and 6.19-rc1.
Red Hat published the vulnerability as a Moderate issue with a CVSS 7.1 rating and shipped remediations through multiple RHEL 8, 9, and 10 kernel errata. One of the affected advisories, RHSA-2026:23237, delivered updated kernel packages for several RHEL 9.4 SAP-related variants and included CVE-2025-68724 among a broader set of 12 kernel fixes; Red Hat said systems must be rebooted after installation for the updates to take effect. The vendor tied the flaw to CWE-190 integer overflow and advised customers to apply the updated kernel packages rather than rely on partial fixes.
Why it matters
Impact assessment
CVE-2025-68724 affects Linux systems running kernels derived from version 3.18 through unpatched stable/vendor releases, including supported RHEL 8, 9, and 10 streams. A local authenticated attacker able to cause processing of a crafted X.509 certificate could trigger kernel memory corruption, resulting in denial of service and potentially confidentiality, integrity, and availability impact.
- Red Hat rates the flaw Moderate with CVSS 7.1; the CVE.org vector rates impact as high for confidentiality, integrity, and availability.
- The attack surface is local: CVSS v3.1 AV:L/AC:L/PR:L/UI:N. This reduces broad internet exposure but makes the issue material in multi-user servers, shared compute, container-host, CI/CD, and certificate-processing environments.
- Documented consequences include kernel crashes, instability, service restarts, resource exhaustion, memory corruption, potential code execution, and protection bypass.
- No exploitation in the wild, public proof of concept, threat actor attribution, or indicators of compromise are published in the supplied references.
- RHSA-2026:23237 also remediates 11 additional kernel CVEs, increasing the operational urgency of deploying its kernel update rather than treating CVE-2025-68724 in isolation.


