CVE-2025-68724 crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id

High 7.8 Published Updated

An integer overflow in the Linux kernel's asymmetric key generation allows attackers to trigger buffer overflows via malicious X.509 certificates, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68724?

CVE-2025-68724 is a high-severity vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id

Use check_add_overflow() to guard against potential integer overflows when adding the binary blob lengths and the size of an asymmetric_key_id structure and return ERR_PTR(-EOVERFLOW) accordingly. This prevents a possible buffer overflow when copying data from potentially malicious X.509 certificate fields that can be arbitrarily large, such as ASN.1 INTEGER serial numbers, issuer names, etc.

Which versions are affected by CVE-2025-68724?

How do I fix CVE-2025-68724?

Apply the vendor's patch.

Is CVE-2025-68724 being exploited?

There is no known exploitation of CVE-2025-68724 in the wild and no public exploit code.

Sources

Also known as AZL-73159, BELL-CVE-2025-68724, DEBIAN-CVE-2025-68724, GHSA-fhmc-454p-hp6f, ROOT-OS-DEBIAN-11-CVE-2025-68724, ROOT-OS-DEBIAN-12-CVE-2025-68724 and 3 more.

Is CVE-2025-68724 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free