In the Linux kernel, the following vulnerability has been resolved: crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id Use… (CVE-2025-68724)
A vulnerability in the Linux kernel's asymmetric_keys crypto subsystem allowed potential integer overflow in asymmetric_key_generate_id. This could lead to a buffer overflow when processing large binary blobs from malicious X.509 certificate fields such as ASN.1 INTEGER serial numbers or issuer names. The issue was resolved by adding checks using check_add_overflow() to prevent overflow and return an error if detected.
AI Analysis
Technical Summary
The Linux kernel's asymmetric_keys component had a vulnerability where integer overflow was possible during the addition of binary blob lengths and the size of an asymmetric_key_id structure. This overflow could cause a buffer overflow when copying data from potentially malicious X.509 certificate fields that may contain arbitrarily large values. The fix involved using check_add_overflow() to detect and prevent such overflows, returning an error pointer on overflow conditions, thereby mitigating the risk of buffer overflow exploitation.
Potential Impact
Successful exploitation could lead to a buffer overflow in the kernel, potentially allowing an attacker with limited privileges to cause denial of service or escalate privileges by manipulating large certificate fields. The CVSS vector indicates high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by adding overflow checks in asymmetric_key_generate_id. Users and administrators should apply the official kernel updates that include this patch once available. Patch status is not yet confirmed in the provided data; check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id Use… (CVE-2025-68724)
Description
A vulnerability in the Linux kernel's asymmetric_keys crypto subsystem allowed potential integer overflow in asymmetric_key_generate_id. This could lead to a buffer overflow when processing large binary blobs from malicious X.509 certificate fields such as ASN.1 INTEGER serial numbers or issuer names. The issue was resolved by adding checks using check_add_overflow() to prevent overflow and return an error if detected.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's asymmetric_keys component had a vulnerability where integer overflow was possible during the addition of binary blob lengths and the size of an asymmetric_key_id structure. This overflow could cause a buffer overflow when copying data from potentially malicious X.509 certificate fields that may contain arbitrarily large values. The fix involved using check_add_overflow() to detect and prevent such overflows, returning an error pointer on overflow conditions, thereby mitigating the risk of buffer overflow exploitation.
Potential Impact
Successful exploitation could lead to a buffer overflow in the kernel, potentially allowing an attacker with limited privileges to cause denial of service or escalate privileges by manipulating large certificate fields. The CVSS vector indicates high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by adding overflow checks in asymmetric_key_generate_id. Users and administrators should apply the official kernel updates that include this patch once available. Patch status is not yet confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fhmc-454p-hp6f
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-68724"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d29c2644c7f8477ca2
Added to database: 07/30/2026, 15:50:42 UTC
Last enriched: 07/30/2026, 18:54:30 UTC
Last updated: 07/31/2026, 19:24:47 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.