{"api_version":"1","generated_at":"2026-12-01T14:27:26+00:00","cve":"CVE-2026-139063","urls":{"html":"https://cve.report/CVE-2026-139063","api":"https://cve.report/api/cve/CVE-2026-139063.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139063","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139063"},"summary":{"title":"remoteproc: elf_loader: Bound the section header table","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: elf_loader: Bound the section header table\n\nThe rproc_elf_sanity_check() only checks the image is big enough to hold\none section header. But find_table() walks e_shnum of them, and first\ndereferences the header at e_shstrndx to locate the section name table.\nBoth fields are u16 and both come from the image, so an e_shstrndx of\n65535 reads about 4 MB past the buffer.\n\nThe commit 9f9967fed9d0 (\"soc: qcom: mdt_loader: Ensure we don't read\npast the ELF header\") added the same check to the MDT loader, and says\nthe header \"is sanitized beforehand\" under remoteproc. That is what this\npatch makes true.\n\nCheck e_shoff against the image size first, so the two bounds can use\nsize_add() without an e_shoff above SIZE_MAX wrapping on 32-bit. The\nbounds are separate because e_shnum may be zero while find_table() still\nreads the e_shstrndx header.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:13","updated_at":"2026-11-30 14:18:13"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e","name":"https://git.kernel.org/stable/c/fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1b77078cf84b567bf7319089a8875550222faba8","name":"https://git.kernel.org/stable/c/1b77078cf84b567bf7319089a8875550222faba8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b32177ead5f8925aa66ceed2bd533a85196f4f0c","name":"https://git.kernel.org/stable/c/b32177ead5f8925aa66ceed2bd533a85196f4f0c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a0ecbf24755257f11c961e7b64140d5e4f9a257c","name":"https://git.kernel.org/stable/c/a0ecbf24755257f11c961e7b64140d5e4f9a257c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/526ed2bd0e3cff628dd8e043032897ccd9ea3d0f","name":"https://git.kernel.org/stable/c/526ed2bd0e3cff628dd8e043032897ccd9ea3d0f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5f175efca59b00f6cca7a3e3907c47d8ec19ddcc","name":"https://git.kernel.org/stable/c/5f175efca59b00f6cca7a3e3907c47d8ec19ddcc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/078cbede4db36844b9ac256fdc1f4b1c4c668546","name":"https://git.kernel.org/stable/c/078cbede4db36844b9ac256fdc1f4b1c4c668546","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/987a8f1128d794cc9f3368b722ab02cc76a95ebf","name":"https://git.kernel.org/stable/c/987a8f1128d794cc9f3368b722ab02cc76a95ebf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139063","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139063","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 400e64df6b237eb36b127efd72000a2794f9eec1 1b77078cf84b567bf7319089a8875550222faba8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 400e64df6b237eb36b127efd72000a2794f9eec1 987a8f1128d794cc9f3368b722ab02cc76a95ebf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 400e64df6b237eb36b127efd72000a2794f9eec1 5f175efca59b00f6cca7a3e3907c47d8ec19ddcc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 400e64df6b237eb36b127efd72000a2794f9eec1 526ed2bd0e3cff628dd8e043032897ccd9ea3d0f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 400e64df6b237eb36b127efd72000a2794f9eec1 a0ecbf24755257f11c961e7b64140d5e4f9a257c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 400e64df6b237eb36b127efd72000a2794f9eec1 078cbede4db36844b9ac256fdc1f4b1c4c668546 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 400e64df6b237eb36b127efd72000a2794f9eec1 fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 400e64df6b237eb36b127efd72000a2794f9eec1 b32177ead5f8925aa66ceed2bd533a85196f4f0c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.4 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.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 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":["drivers/remoteproc/remoteproc_elf_loader.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1b77078cf84b567bf7319089a8875550222faba8","status":"affected","version":"400e64df6b237eb36b127efd72000a2794f9eec1","versionType":"git"},{"lessThan":"987a8f1128d794cc9f3368b722ab02cc76a95ebf","status":"affected","version":"400e64df6b237eb36b127efd72000a2794f9eec1","versionType":"git"},{"lessThan":"5f175efca59b00f6cca7a3e3907c47d8ec19ddcc","status":"affected","version":"400e64df6b237eb36b127efd72000a2794f9eec1","versionType":"git"},{"lessThan":"526ed2bd0e3cff628dd8e043032897ccd9ea3d0f","status":"affected","version":"400e64df6b237eb36b127efd72000a2794f9eec1","versionType":"git"},{"lessThan":"a0ecbf24755257f11c961e7b64140d5e4f9a257c","status":"affected","version":"400e64df6b237eb36b127efd72000a2794f9eec1","versionType":"git"},{"lessThan":"078cbede4db36844b9ac256fdc1f4b1c4c668546","status":"affected","version":"400e64df6b237eb36b127efd72000a2794f9eec1","versionType":"git"},{"lessThan":"fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e","status":"affected","version":"400e64df6b237eb36b127efd72000a2794f9eec1","versionType":"git"},{"lessThan":"b32177ead5f8925aa66ceed2bd533a85196f4f0c","status":"affected","version":"400e64df6b237eb36b127efd72000a2794f9eec1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/remoteproc/remoteproc_elf_loader.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.4"},{"lessThan":"3.4","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.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","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.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"3.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"3.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"3.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: elf_loader: Bound the section header table\n\nThe rproc_elf_sanity_check() only checks the image is big enough to hold\none section header. But find_table() walks e_shnum of them, and first\ndereferences the header at e_shstrndx to locate the section name table.\nBoth fields are u16 and both come from the image, so an e_shstrndx of\n65535 reads about 4 MB past the buffer.\n\nThe commit 9f9967fed9d0 (\"soc: qcom: mdt_loader: Ensure we don't read\npast the ELF header\") added the same check to the MDT loader, and says\nthe header \"is sanitized beforehand\" under remoteproc. That is what this\npatch makes true.\n\nCheck e_shoff against the image size first, so the two bounds can use\nsize_add() without an e_shoff above SIZE_MAX wrapping on 32-bit. The\nbounds are separate because e_shnum may be zero while find_table() still\nreads the e_shstrndx header."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:27:31.428Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1b77078cf84b567bf7319089a8875550222faba8"},{"url":"https://git.kernel.org/stable/c/987a8f1128d794cc9f3368b722ab02cc76a95ebf"},{"url":"https://git.kernel.org/stable/c/5f175efca59b00f6cca7a3e3907c47d8ec19ddcc"},{"url":"https://git.kernel.org/stable/c/526ed2bd0e3cff628dd8e043032897ccd9ea3d0f"},{"url":"https://git.kernel.org/stable/c/a0ecbf24755257f11c961e7b64140d5e4f9a257c"},{"url":"https://git.kernel.org/stable/c/078cbede4db36844b9ac256fdc1f4b1c4c668546"},{"url":"https://git.kernel.org/stable/c/fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e"},{"url":"https://git.kernel.org/stable/c/b32177ead5f8925aa66ceed2bd533a85196f4f0c"}],"title":"remoteproc: elf_loader: Bound the section header table","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139063","datePublished":"2026-11-30T13:27:31.428Z","dateReserved":"2026-11-30T13:22:15.912Z","dateUpdated":"2026-11-30T13:27:31.428Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:13","lastModifiedDate":"2026-11-30 14:18:13","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139063","Ordinal":"1","Title":"remoteproc: elf_loader: Bound the section header table","CVE":"CVE-2026-139063","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139063","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: elf_loader: Bound the section header table\n\nThe rproc_elf_sanity_check() only checks the image is big enough to hold\none section header. But find_table() walks e_shnum of them, and first\ndereferences the header at e_shstrndx to locate the section name table.\nBoth fields are u16 and both come from the image, so an e_shstrndx of\n65535 reads about 4 MB past the buffer.\n\nThe commit 9f9967fed9d0 (\"soc: qcom: mdt_loader: Ensure we don't read\npast the ELF header\") added the same check to the MDT loader, and says\nthe header \"is sanitized beforehand\" under remoteproc. That is what this\npatch makes true.\n\nCheck e_shoff against the image size first, so the two bounds can use\nsize_add() without an e_shoff above SIZE_MAX wrapping on 32-bit. The\nbounds are separate because e_shnum may be zero while find_table() still\nreads the e_shstrndx header.","Type":"Description","Title":"remoteproc: elf_loader: Bound the section header table"}]}}}