CVE-2025-68724
crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id
Check your servers for CVE-2025-68724
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68724 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.14% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, before 60a7be5ee74408147e439164ac067e418ca74bb4 affected from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, before c13c6e9de91d7f1dd7df756b1fa5a1f968839d76 affected from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, before dfc1613961828745165aec6552c3818fa14ab725 affected from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, before 5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c affected from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, before c73be4f51eed98fa0c7c189db8f279e1c86bfbf7 affected from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, before 6af753ac5205115e6c310c8c4236c01b59a1c44f affected from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, before b7090a5c153105b9fd221a5a81459ee8cd5babd6 affected from 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7, before df0845cf447ae1556c3440b8b155de0926cbaa56
Other versions: unaffected
|
| Linux |
affected 3.18 unaffected before 3.18 unaffected from 5.10.248 up to and including 5.10.* unaffected from 5.15.198 up to and including 5.15.* unaffected from 6.1.160 up to and including 6.1.* unaffected from 6.6.120 up to and including 6.6.* unaffected from 6.12.63 up to and including 6.12.* unaffected from 6.17.13 up to and including 6.17.* unaffected from 6.18.2 up to and including 6.18.* unaffected 6.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68724 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68724
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68724
trivy image --scanners vuln IMAGE | grep CVE-2025-68724
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/60a7be5ee74408147e439164ac067e418ca74bb4 git.kernel.org
- https://git.kernel.org/stable/c/c13c6e9de91d7f1dd7df756b1fa5a1f968839d76 git.kernel.org
- https://git.kernel.org/stable/c/dfc1613961828745165aec6552c3818fa14ab725 git.kernel.org
- https://git.kernel.org/stable/c/5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c git.kernel.org
- https://git.kernel.org/stable/c/c73be4f51eed98fa0c7c189db8f279e1c86bfbf7 git.kernel.org
- https://git.kernel.org/stable/c/6af753ac5205115e6c310c8c4236c01b59a1c44f git.kernel.org
- https://git.kernel.org/stable/c/b7090a5c153105b9fd221a5a81459ee8cd5babd6 git.kernel.org
- https://git.kernel.org/stable/c/df0845cf447ae1556c3440b8b155de0926cbaa56 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-68724 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse