PT-2026-163798

CVE-2026-139757

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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).
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾