{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139757","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.951Z","datePublished":"2026-11-30T13:37:41.720Z","dateUpdated":"2026-11-30T13:37:41.720Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:37:41.720Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: asymmetric_keys - fix OOB read in pefile_parse_binary\n\npefile_parse_binary() reads the size field of the certificate table's\ndata-directory entry, which sits at fixed index 4 of the PE optional\nheader's data directory:\n\n\tctx->certs_size = ddir->certs.size;\n\nbut nothing ensures index 4 is present. n_data_dirents (the untrusted\nNumberOfRvaAndSizes) is only upper-bounded against header_size and may be\n0, and header_size need only satisfy cursor < header_size < datalen. A\ncrafted PE with n_data_dirents = 0 and a tiny header_size therefore causes\nthe ddir->certs.size read to land past the end of the image (CWE-125). The\nchkaddr() that bounds the certificate blob runs only after this read.\n\nverify_pefile_signature() is reached from kexec_file_load() (the\nlockdown/secure-boot enforced PE-image signature path), and the image is\nparsed before its signature is checked. The trigger needs CAP_SYS_BOOT and\nthe access is out-of-bounds read only (no write).\n\nRequire the certificate table's data-directory entry (index 4) to be\npresent; the existing upper-bound check then keeps ddir->certs within\n[cursor, header_size)."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["crypto/asymmetric_keys/verify_pefile.c"],"versions":[{"version":"26d1164be37f1145a96af15f294122876d8e5c77","lessThan":"7bece4f231578ea5214c27026f383681bee57d4c","status":"affected","versionType":"git"},{"version":"26d1164be37f1145a96af15f294122876d8e5c77","lessThan":"c77c0001457161d8ff4f9b457bbfe841ebb38cc2","status":"affected","versionType":"git"},{"version":"26d1164be37f1145a96af15f294122876d8e5c77","lessThan":"8d2dd81b8591953e6defb28f5bd914feeaf2761b","status":"affected","versionType":"git"},{"version":"26d1164be37f1145a96af15f294122876d8e5c77","lessThan":"27adcebae626ba3c0a7cc9b6491ff78346517acb","status":"affected","versionType":"git"},{"version":"26d1164be37f1145a96af15f294122876d8e5c77","lessThan":"a6ecef48786cd4e21854ff431cb2a1432240c0c3","status":"affected","versionType":"git"},{"version":"26d1164be37f1145a96af15f294122876d8e5c77","lessThan":"c1dedf447161ab4942c25b1e099e1986fe49791a","status":"affected","versionType":"git"},{"version":"26d1164be37f1145a96af15f294122876d8e5c77","lessThan":"3937b14049f4117c152a4b0e86fb39a3737489bf","status":"affected","versionType":"git"},{"version":"26d1164be37f1145a96af15f294122876d8e5c77","lessThan":"37d550172c2d3cdb3a5ace3e6cb0625967d86349","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["crypto/asymmetric_keys/verify_pefile.c"],"versions":[{"version":"3.17","status":"affected"},{"version":"0","lessThan":"3.17","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7bece4f231578ea5214c27026f383681bee57d4c"},{"url":"https://git.kernel.org/stable/c/c77c0001457161d8ff4f9b457bbfe841ebb38cc2"},{"url":"https://git.kernel.org/stable/c/8d2dd81b8591953e6defb28f5bd914feeaf2761b"},{"url":"https://git.kernel.org/stable/c/27adcebae626ba3c0a7cc9b6491ff78346517acb"},{"url":"https://git.kernel.org/stable/c/a6ecef48786cd4e21854ff431cb2a1432240c0c3"},{"url":"https://git.kernel.org/stable/c/c1dedf447161ab4942c25b1e099e1986fe49791a"},{"url":"https://git.kernel.org/stable/c/3937b14049f4117c152a4b0e86fb39a3737489bf"},{"url":"https://git.kernel.org/stable/c/37d550172c2d3cdb3a5ace3e6cb0625967d86349"}],"title":"crypto: asymmetric_keys - fix OOB read in pefile_parse_binary","x_generator":{"engine":"bippy-1.2.0"}}}}