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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2025-12-24T10:33:08.932Z
- **Modified:** 2026-11-10T13:17:58.663Z

## Who should check

- Anyone running Linux \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 60a7be5ee74408147e439164ac067e418ca74bb4; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< c13c6e9de91d7f1dd7df756b1fa5a1f968839d76; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< dfc1613961828745165aec6552c3818fa14ab725; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< c73be4f51eed98fa0c7c189db8f279e1c86bfbf7; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 6af753ac5205115e6c310c8c4236c01b59a1c44f; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< b7090a5c153105b9fd221a5a81459ee8cd5babd6; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< df0845cf447ae1556c3440b8b155de0926cbaa56
- Anyone running Linux 3.18

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

## Affected and fixed versions

- Linux: \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 60a7be5ee74408147e439164ac067e418ca74bb4; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< c13c6e9de91d7f1dd7df756b1fa5a1f968839d76; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< dfc1613961828745165aec6552c3818fa14ab725; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< c73be4f51eed98fa0c7c189db8f279e1c86bfbf7; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 6af753ac5205115e6c310c8c4236c01b59a1c44f; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< b7090a5c153105b9fd221a5a81459ee8cd5babd6; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< df0845cf447ae1556c3440b8b155de0926cbaa56 (cvelist)
- Linux: 3.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68724. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68724.md
Affected: Linux >= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, < 60a7be5ee74408147e439164ac067e418ca74bb4; >= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, < c13c6e9de91d7f1dd7df756b1fa5a1f968839d76; >= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, < dfc1613961828745165aec6552c3818fa14ab725; >= 7901c1a8effbe5f89673bfc…
Fixed in: Linux 60a7be5ee74408147e439164ac067e418ca74bb4, Linux 5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c, Linux 6af753ac5205115e6c310c8c4236c01b59a1c44f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68724 being exploited?

There is no confirmed exploitation: CVE-2025-68724 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-68724?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-68724?

Linux \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 60a7be5ee74408147e439164ac067e418ca74bb4; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< c13c6e9de91d7f1dd7df756b1fa5a1f968839d76; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< dfc1613961828745165aec6552c3818fa14ab725; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< c73be4f51eed98fa0c7c189db8f279e1c86bfbf7; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< 6af753ac5205115e6c310c8c4236c01b59a1c44f; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< b7090a5c153105b9fd221a5a81459ee8cd5babd6; \>= 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, \< df0845cf447ae1556c3440b8b155de0926cbaa56; Linux 3.18.

### Is there a fix for CVE-2025-68724?

Yes. Fixed in Linux 60a7be5ee74408147e439164ac067e418ca74bb4, Linux 5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c, Linux 6af753ac5205115e6c310c8c4236c01b59a1c44f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68724?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/60a7be5ee74408147e439164ac067e418ca74bb4>
- other: <https://git.kernel.org/stable/c/c13c6e9de91d7f1dd7df756b1fa5a1f968839d76>
- other: <https://git.kernel.org/stable/c/dfc1613961828745165aec6552c3818fa14ab725>
- other: <https://git.kernel.org/stable/c/5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c>
- other: <https://git.kernel.org/stable/c/c73be4f51eed98fa0c7c189db8f279e1c86bfbf7>
- other: <https://git.kernel.org/stable/c/6af753ac5205115e6c310c8c4236c01b59a1c44f>
- other: <https://git.kernel.org/stable/c/b7090a5c153105b9fd221a5a81459ee8cd5babd6>
- other: <https://git.kernel.org/stable/c/df0845cf447ae1556c3440b8b155de0926cbaa56>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68724>

HTML: <https://flawdb.com/CVE-2025-68724> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68724>
