{"api_version":"1","generated_at":"2026-11-30T18:22:09+00:00","cve":"CVE-2026-139757","urls":{"html":"https://cve.report/CVE-2026-139757","api":"https://cve.report/api/cve/CVE-2026-139757.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139757","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139757"},"summary":{"title":"crypto: asymmetric_keys - fix OOB read in pefile_parse_binary","description":"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).","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:08","updated_at":"2026-11-30 14:20:08"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/27adcebae626ba3c0a7cc9b6491ff78346517acb","name":"https://git.kernel.org/stable/c/27adcebae626ba3c0a7cc9b6491ff78346517acb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8d2dd81b8591953e6defb28f5bd914feeaf2761b","name":"https://git.kernel.org/stable/c/8d2dd81b8591953e6defb28f5bd914feeaf2761b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3937b14049f4117c152a4b0e86fb39a3737489bf","name":"https://git.kernel.org/stable/c/3937b14049f4117c152a4b0e86fb39a3737489bf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c1dedf447161ab4942c25b1e099e1986fe49791a","name":"https://git.kernel.org/stable/c/c1dedf447161ab4942c25b1e099e1986fe49791a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c77c0001457161d8ff4f9b457bbfe841ebb38cc2","name":"https://git.kernel.org/stable/c/c77c0001457161d8ff4f9b457bbfe841ebb38cc2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7bece4f231578ea5214c27026f383681bee57d4c","name":"https://git.kernel.org/stable/c/7bece4f231578ea5214c27026f383681bee57d4c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/37d550172c2d3cdb3a5ace3e6cb0625967d86349","name":"https://git.kernel.org/stable/c/37d550172c2d3cdb3a5ace3e6cb0625967d86349","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a6ecef48786cd4e21854ff431cb2a1432240c0c3","name":"https://git.kernel.org/stable/c/a6ecef48786cd4e21854ff431cb2a1432240c0c3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139757","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139757","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26d1164be37f1145a96af15f294122876d8e5c77 7bece4f231578ea5214c27026f383681bee57d4c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26d1164be37f1145a96af15f294122876d8e5c77 c77c0001457161d8ff4f9b457bbfe841ebb38cc2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26d1164be37f1145a96af15f294122876d8e5c77 8d2dd81b8591953e6defb28f5bd914feeaf2761b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26d1164be37f1145a96af15f294122876d8e5c77 27adcebae626ba3c0a7cc9b6491ff78346517acb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26d1164be37f1145a96af15f294122876d8e5c77 a6ecef48786cd4e21854ff431cb2a1432240c0c3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26d1164be37f1145a96af15f294122876d8e5c77 c1dedf447161ab4942c25b1e099e1986fe49791a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26d1164be37f1145a96af15f294122876d8e5c77 3937b14049f4117c152a4b0e86fb39a3737489bf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26d1164be37f1145a96af15f294122876d8e5c77 37d550172c2d3cdb3a5ace3e6cb0625967d86349 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["crypto/asymmetric_keys/verify_pefile.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7bece4f231578ea5214c27026f383681bee57d4c","status":"affected","version":"26d1164be37f1145a96af15f294122876d8e5c77","versionType":"git"},{"lessThan":"c77c0001457161d8ff4f9b457bbfe841ebb38cc2","status":"affected","version":"26d1164be37f1145a96af15f294122876d8e5c77","versionType":"git"},{"lessThan":"8d2dd81b8591953e6defb28f5bd914feeaf2761b","status":"affected","version":"26d1164be37f1145a96af15f294122876d8e5c77","versionType":"git"},{"lessThan":"27adcebae626ba3c0a7cc9b6491ff78346517acb","status":"affected","version":"26d1164be37f1145a96af15f294122876d8e5c77","versionType":"git"},{"lessThan":"a6ecef48786cd4e21854ff431cb2a1432240c0c3","status":"affected","version":"26d1164be37f1145a96af15f294122876d8e5c77","versionType":"git"},{"lessThan":"c1dedf447161ab4942c25b1e099e1986fe49791a","status":"affected","version":"26d1164be37f1145a96af15f294122876d8e5c77","versionType":"git"},{"lessThan":"3937b14049f4117c152a4b0e86fb39a3737489bf","status":"affected","version":"26d1164be37f1145a96af15f294122876d8e5c77","versionType":"git"},{"lessThan":"37d550172c2d3cdb3a5ace3e6cb0625967d86349","status":"affected","version":"26d1164be37f1145a96af15f294122876d8e5c77","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["crypto/asymmetric_keys/verify_pefile.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.17"},{"lessThan":"3.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"3.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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)."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:41.720Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139757","datePublished":"2026-11-30T13:37:41.720Z","dateReserved":"2026-11-30T13:22:15.951Z","dateUpdated":"2026-11-30T13:37:41.720Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:08","lastModifiedDate":"2026-11-30 14:20:08","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139757","Ordinal":"1","Title":"crypto: asymmetric_keys - fix OOB read in pefile_parse_binary","CVE":"CVE-2026-139757","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139757","Ordinal":"1","NoteData":"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).","Type":"Description","Title":"crypto: asymmetric_keys - fix OOB read in pefile_parse_binary"}]}}}