CVE-2026-139063
remoteproc: elf_loader: Bound the section header table
Description
In the Linux kernel, the following vulnerability has been resolved: remoteproc: elf_loader: Bound the section header table The rproc_elf_sanity_check() only checks the image is big enough to hold one section header. But find_table() walks e_shnum of them, and first dereferences the header at e_shstrndx to locate the section name table. Both fields are u16 and both come from the image, so an e_shstrndx of 65535 reads about 4 MB past the buffer. The commit 9f9967fed9d0 ("soc: qcom: mdt_loader: Ensure we don't read past the ELF header") added the same check to the MDT loader, and says the header "is sanitized beforehand" under remoteproc. That is what this patch makes true. Check e_shoff against the image size first, so the two bounds can use size_add() without an e_shoff above SIZE_MAX wrapping on 32-bit. The bounds are separate because e_shnum may be zero while find_table() still reads the e_shstrndx header.
INFO
Published Date :
Nov. 30, 2026, 2:18 p.m.
Last Modified :
Nov. 30, 2026, 2:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the remoteproc: elf_loader: Bound the section header table patch.
- Update the Linux kernel to the patched version.
- Ensure e_shoff and e_shnum are validated against image size.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139063.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139063 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139063
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139063 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139063 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: remoteproc: elf_loader: Bound the section header table The rproc_elf_sanity_check() only checks the image is big enough to hold one section header. But find_table() walks e_shnum of them, and first dereferences the header at e_shstrndx to locate the section name table. Both fields are u16 and both come from the image, so an e_shstrndx of 65535 reads about 4 MB past the buffer. The commit 9f9967fed9d0 ("soc: qcom: mdt_loader: Ensure we don't read past the ELF header") added the same check to the MDT loader, and says the header "is sanitized beforehand" under remoteproc. That is what this patch makes true. Check e_shoff against the image size first, so the two bounds can use size_add() without an e_shoff above SIZE_MAX wrapping on 32-bit. The bounds are separate because e_shnum may be zero while find_table() still reads the e_shstrndx header. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139063.json">CVE-2026-139063</a> Added Reference https://git.kernel.org/stable/c/078cbede4db36844b9ac256fdc1f4b1c4c668546 Added Reference https://git.kernel.org/stable/c/1b77078cf84b567bf7319089a8875550222faba8 Added Reference https://git.kernel.org/stable/c/526ed2bd0e3cff628dd8e043032897ccd9ea3d0f Added Reference https://git.kernel.org/stable/c/5f175efca59b00f6cca7a3e3907c47d8ec19ddcc Added Reference https://git.kernel.org/stable/c/987a8f1128d794cc9f3368b722ab02cc76a95ebf Added Reference https://git.kernel.org/stable/c/a0ecbf24755257f11c961e7b64140d5e4f9a257c Added Reference https://git.kernel.org/stable/c/b32177ead5f8925aa66ceed2bd533a85196f4f0c Added Reference https://git.kernel.org/stable/c/fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e