CVE-2025-39787
MediumIn the Linux kernel, the following vulnerability has been resolved: soc: qcom: mdt_loader: Ensure we don't read past the ELF header When the MDT loader is used in remoteproc, the ELF header is sanitized beforehand, but that's not necessary the case for other clients. Validate the size of the firmware buffer to ensure that we don't read past the end as we iterate over the header. e_phentsize and e_shentsize are validated as well, to ensure that the assumptions about step size in the traversal are valid.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
4.11
and later are affected. Fixed in
5.4.297,
5.10.241,
5.15.190,
6.1.149,
6.6.103,
6.12.44,
6.16.4,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-39787 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
Third Party Advisory
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0d59ce2bfc3bb13abe6240335a1bf7b96536d022
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1096eb63ecfc8df90b70cd068e6de0c2ff204dfd
-
PatchKernel patch commithttps://git.kernel.org/stable/c/43d26997d88c4056fce0324e72f62556bc7e8e8d
Frequently asked questions
-
What is CVE-2025-39787?
CVE-2025-39787 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 4.11 onward and has been patched in 5.4.297, 5.10.241, 5.15.190 and others. CVE-2025-39787 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-39787?
CVE-2025-39787 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-39787?
Yes — CVE-2025-39787 has been patched. Fixed versions include 5.4.297, 5.10.241, 5.15.190 and others. If you are running Linux kernel 4.11 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-39787 actively exploited?
No — CVE-2025-39787 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.