CVE-2025-68724: Integer overflow in Linux kernel asymmetric_key_generate_id
- Vendor
- Linux
CVE-2025-68724 is an integer-overflow vulnerability in the Linux kernel's crypto asymmetric_keys subsystem, introduced in Linux 3.18. The asymmetric_key_generate_id() function adds binary blob lengths and the size of an asymmetric_key_id structure without sufficient overflow checks. Maliciously large X.509 certificate fields, including ASN.1 INTEGER serial numbers and issuer names, can cause the allocation-size calculation to wrap, potentially producing an undersized buffer that overflows during subsequent data copying. The fix validates the additions with check_add_overflow() and returns ERR_PTR(-EOVERFLOW) when overflow is detected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The vulnerability can cause kernel memory corruption and denial of service through crashes or instability. Potential consequences include unauthorized code execution, protection bypass, and compromise of sensitive information. CVSS assessments characterize exploitation as local and low-privileged, with high confidentiality and availability impacts; integrity assessments differ between vendors. Reliable code execution or privilege escalation has not been demonstrated in the available vulnerability-specific information.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict untrusted X.509 certificate inputs reaching kernel asymmetric-key processing where feasible, and limit local shell access and application execution to trusted users and software. These restrictions reduce exposure but do not correct the overflow. No generally applicable, validated temporary workaround is specified.
Remediation
Patch, then assume compromise.
Install a supported kernel update containing the asymmetric_key_generate_id() overflow checks, then reboot into the updated kernel. Upstream fixed releases include 6.12.63, 6.17.13, and 6.18.2; the fix also entered 6.19-rc1. Prefer the latest supported stable release or the distribution's applicable security update rather than cherry-picking individual commits. Distribution fixes include Debian bookworm linux 6.1.162-1, RHEL 8.10 kernel 4.18.0-553.123.1.el8_10, RHEL 9.6 kernel 5.14.0-570.120.1.el9_6, and RHEL 10.0 EUS kernel 6.12.0-55.88.1.el10_0. Use the update appropriate to the installed product and servicing stream.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-68724 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2025-68724 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-68724?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2025-68724.
- Is there a patch for CVE-2025-68724?
- Install a supported kernel update containing the asymmetric_key_generate_id() overflow checks, then reboot into the updated kernel. Upstream fixed releases include 6.12.63, 6.17.13, and 6.18.2; the fix also entered 6.19-rc1.
- What products are affected by CVE-2025-68724?
- Linux Kernel.
- How severe is CVE-2025-68724?
- CVE-2025-68724 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.21% (7th percentile) as of Nov 19, 2026.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.