CVEvulnerability
CVE-2026-31430
7.1 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-20
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-125
Description
In the Linux kernel, the following vulnerability has been resolved:
X.509: Fix out-of-bounds access when parsing extensions
Leo reports an out-of-bounds access when parsing a certificate with
empty Basic Constraints or Key Usage extension because the first byte of
the extension is read before checking its length. Fix it.
The bug can be triggered by an unprivileged user by submitting a
specially crafted certificate to the kernel through the keyrings(7) API.
Leo has demonstrated this with a proof-of-concept program responsibly
disclosed off-list.
Affected configurations
• linux linux kernel (>= 6.4 < 6.6.135)
• linux linux kernel (>= 6.7 < 6.12.82)
• linux linux kernel (>= 6.13 < 6.18.23)
• linux linux kernel (>= 6.19 < 6.19.13)
• linux linux kernel 7.0
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://git.kernel.org/stable/c/206121294b9cf27f0589857f80d64f87e496ffb2 Patch
- https://git.kernel.org/stable/c/30ab358fad0c7daa1d282ec48089901b21b36a20 Patch
- https://git.kernel.org/stable/c/672b526def1f94c1be8eb11b885b803da0d8c2f1 Patch
- https://git.kernel.org/stable/c/7fb4dadc2734f4020d7543d688b8d49c8e569c61 Patch
- https://git.kernel.org/stable/c/d702c3408213bb12bd570bb97204d8340d141c51 Patch