Medium severity · published Sep 11, 2025
CVE-2025-39787
soc: qcom: mdt_loader: Ensure we don't read past the ELF header
5.5
CVSS
0.2%
EPSS
No
On KEV
Description
In 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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.11 before 5.4.297; 5.5 before 5.10.241; 5.11 before 5.15.190; 5.16 before 6.1.149; 6.2 before 6.6.103; 6.7 before 6.12.44; +1 more · source: NVD
LI
Linux · Linux
2aad40d911eeb7dcac91c669f2762a28134f0eb1 before 1096eb63ecfc8df90b70cd068e6de0c2ff204dfd; 2aad40d911eeb7dcac91c669f2762a28134f0eb1 before e1720eb32acf411c328af6a8c8f556c94535808e; 2aad40d911eeb7dcac91c669f2762a28134f0eb1 before 0d59ce2bfc3bb13abe6240335a1bf7b96536d022; 2aad40d911eeb7dcac91c669f2762a28134f0eb1 before 43d26997d88c4056fce0324e72f62556bc7e8e8d; 2aad40d911eeb7dcac91c669f2762a28134f0eb1 before 981c845f29838e468a9bfa87f784307193a31297; 2aad40d911eeb7dcac91c669f2762a28134f0eb1 before 87bfabb3b2f46827639173f143aa43f7cfc0a7e6; +3 more · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD
SC
SIMATIC CN 4100 · Siemens
before V5.0 · source: CISA
SS
SS