CVE-2026-139757: Linux kernel · crypto: asymmetric_keys – fix OOB read in pefile_parse_binary
Source GCVE Database
Not known to be exploited · fixed in c77c0001457161d8ff4f9b457bbfe841ebb38cc2 : update Linux kernel when convenient.
Data as of 30 Nov 2026, 17:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in c77c0001457161d8ff4f9b457bbfe841ebb38cc2, c1dedf447161ab4942c25b1e099e1986fe49791a, a6ecef48786cd4e21854ff431cb2a1432240c0c3 +5
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: asymmetric_keys - fix OOB read in pefile_parse_binary pefile_parse_binary() reads the size field of the certificate table's data-directory entry, which sits at fixed index 4 of the PE optional header's data directory: ctx->certs_size = ddir->certs.size; but nothing ensures index 4 is present. n_data_dirents (the untrusted NumberOfRvaAndSizes) is only upper-bounded against header_size and may be 0, and header_size need only satisfy cursor < header_size < datalen. A crafted PE with n_data_dirents = 0 and a tiny header_size therefore causes the ddir->certs.size read to land past the end of the image (CWE-125). The chkaddr() that bounds the certificate blob runs only after this read. verify_pefile_signature() is reached from kexec_file_load() (the lockdown/secure-boot enforced PE-image signature path), and the image is parsed before its signature is checked. The trigger needs CAP_SYS_BOOT and the access is out-of-bounds read only (no write). Require the certificate table's data-directory entry (index 4) to be present; the existing upper-bound check then keeps ddir->certs within [cursor, header_size).
References
- nvd.nist.gov/vuln/detail/CVE-2026-139757 (opens in a new tab)
- git.kernel.org/stable/c/27adcebae626ba3c0a7cc9b6491ff78346517acb (opens in a new tab)
- git.kernel.org/stable/c/37d550172c2d3cdb3a5ace3e6cb0625967d86349 (opens in a new tab)
- git.kernel.org/stable/c/3937b14049f4117c152a4b0e86fb39a3737489bf (opens in a new tab)
- git.kernel.org/stable/c/7bece4f231578ea5214c27026f383681bee57d4c (opens in a new tab)
- git.kernel.org/stable/c/8d2dd81b8591953e6defb28f5bd914feeaf2761b (opens in a new tab)
- git.kernel.org/stable/c/a6ecef48786cd4e21854ff431cb2a1432240c0c3 (opens in a new tab)
- git.kernel.org/stable/c/c1dedf447161ab4942c25b1e099e1986fe49791a (opens in a new tab)
- git.kernel.org/stable/c/c77c0001457161d8ff4f9b457bbfe841ebb38cc2 (opens in a new tab)