# CVE-2026-139757: crypto: asymmetric\_keys - fix OOB read in pefile\_parse\_binary

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:37:41.720Z
- **Modified:** 2026-11-30T14:20:08.430Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker with CAP\_SYS\_BOOT can supply a crafted PE image that triggers an out-of-bounds read in the Linux kernel's PE signature parsing during kexec\_file\_load.

## Who should check

- Anyone running Linux \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 7bece4f231578ea5214c27026f383681bee57d4c; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< c77c0001457161d8ff4f9b457bbfe841ebb38cc2; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 8d2dd81b8591953e6defb28f5bd914feeaf2761b; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 27adcebae626ba3c0a7cc9b6491ff78346517acb; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< a6ecef48786cd4e21854ff431cb2a1432240c0c3; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< c1dedf447161ab4942c25b1e099e1986fe49791a; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 3937b14049f4117c152a4b0e86fb39a3737489bf; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 37d550172c2d3cdb3a5ace3e6cb0625967d86349
- Anyone running Linux 3.17

## 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).

## Affected and fixed versions

- Linux: \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 7bece4f231578ea5214c27026f383681bee57d4c; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< c77c0001457161d8ff4f9b457bbfe841ebb38cc2; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 8d2dd81b8591953e6defb28f5bd914feeaf2761b; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 27adcebae626ba3c0a7cc9b6491ff78346517acb; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< a6ecef48786cd4e21854ff431cb2a1432240c0c3; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< c1dedf447161ab4942c25b1e099e1986fe49791a; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 3937b14049f4117c152a4b0e86fb39a3737489bf; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 37d550172c2d3cdb3a5ace3e6cb0625967d86349 (cvelist)
- Linux: 3.17 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 37d550172c2d3cdb3a5ace3e6cb0625967d86349 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139757. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139757.md
Affected: Linux >= 26d1164be37f1145a96af15f294122876d8e5c77, < 7bece4f231578ea5214c27026f383681bee57d4c; >= 26d1164be37f1145a96af15f294122876d8e5c77, < c77c0001457161d8ff4f9b457bbfe841ebb38cc2; >= 26d1164be37f1145a96af15f294122876d8e5c77, < 8d2dd81b8591953e6defb28f5bd914feeaf2761b; >= 26d1164be37f1145a96af15…
Fixed in: Linux 7bece4f231578ea5214c27026f383681bee57d4c, Linux 8d2dd81b8591953e6defb28f5bd914feeaf2761b, Linux 27adcebae626ba3c0a7cc9b6491ff78346517acb, Linux 3937b14049f4117c152a4b0e86fb39a3737489bf, Linux 37d550172c2d3cdb3a5ace3e6cb0625967d86349

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139757 being exploited?

There is no confirmed exploitation: CVE-2026-139757 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139757?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139757?

Linux \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 7bece4f231578ea5214c27026f383681bee57d4c; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< c77c0001457161d8ff4f9b457bbfe841ebb38cc2; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 8d2dd81b8591953e6defb28f5bd914feeaf2761b; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 27adcebae626ba3c0a7cc9b6491ff78346517acb; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< a6ecef48786cd4e21854ff431cb2a1432240c0c3; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< c1dedf447161ab4942c25b1e099e1986fe49791a; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 3937b14049f4117c152a4b0e86fb39a3737489bf; \>= 26d1164be37f1145a96af15f294122876d8e5c77, \< 37d550172c2d3cdb3a5ace3e6cb0625967d86349; Linux 3.17.

### Is there a fix for CVE-2026-139757?

Yes. Fixed in Linux 7bece4f231578ea5214c27026f383681bee57d4c, Linux 8d2dd81b8591953e6defb28f5bd914feeaf2761b, Linux 27adcebae626ba3c0a7cc9b6491ff78346517acb, Linux 3937b14049f4117c152a4b0e86fb39a3737489bf, Linux 37d550172c2d3cdb3a5ace3e6cb0625967d86349. Upgrade Linux to 37d550172c2d3cdb3a5ace3e6cb0625967d86349 or later.

### How do I check if I'm affected by CVE-2026-139757?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/7bece4f231578ea5214c27026f383681bee57d4c>
- other: <https://git.kernel.org/stable/c/c77c0001457161d8ff4f9b457bbfe841ebb38cc2>
- other: <https://git.kernel.org/stable/c/8d2dd81b8591953e6defb28f5bd914feeaf2761b>
- other: <https://git.kernel.org/stable/c/27adcebae626ba3c0a7cc9b6491ff78346517acb>
- other: <https://git.kernel.org/stable/c/a6ecef48786cd4e21854ff431cb2a1432240c0c3>
- other: <https://git.kernel.org/stable/c/c1dedf447161ab4942c25b1e099e1986fe49791a>
- other: <https://git.kernel.org/stable/c/3937b14049f4117c152a4b0e86fb39a3737489bf>
- other: <https://git.kernel.org/stable/c/37d550172c2d3cdb3a5ace3e6cb0625967d86349>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139757>

HTML: <https://flawdb.com/CVE-2026-139757> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139757>
