Bug 2459691 (CVE-2026-31430) - CVE-2026-31430 kernel: X.509: Fix out-of-bounds access when parsing extensions
Summary: CVE-2026-31430 kernel: X.509: Fix out-of-bounds access when parsing extensions
Keywords:
Status: NEW
Alias: CVE-2026-31430
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-20 11:01 UTC by OSIDB Bzimport
Modified: 2026-04-20 14:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-20 11:01:28 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.