PT-2026-163798

CVE-2026-139757

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

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).
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾