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
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.5; V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.5; V3.1.5 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.5 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-39787
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-39787
Patch
https://git.kernel.org/stable/c/0d59ce2bfc3bb13abe6240335a1bf7b96536d022
Patch
https://git.kernel.org/stable/c/1096eb63ecfc8df90b70cd068e6de0c2ff204dfd
Patch
https://git.kernel.org/stable/c/43d26997d88c4056fce0324e72f62556bc7e8e8d
Patch
https://git.kernel.org/stable/c/81278be4eb5f08ba2c68c3055893e61cc03727fe
Patch
https://git.kernel.org/stable/c/87bfabb3b2f46827639173f143aa43f7cfc0a7e6
Patch
https://git.kernel.org/stable/c/981c845f29838e468a9bfa87f784307193a31297
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
