VDB

CVE-2025-39787

CVE-2025-39787 PUBLISHED CVSS 7.8 HIGH

soc: qcom: mdt_loader: Ensure we don't read past the ELF header

Reported by linux · Published September 11, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.16.4, 6.12.44, 6.6.103, 6.1.149, 5.15.190, 5.10.241, 5.4.297
SIMATIC CN 4100Siemens5.0
LinuxLinux9f9967fed9d066ed3dae9372b45ffa4f6fccfeef, 87bfabb3b2f46827639173f143aa43f7cfc0a7e6, 81278be4eb5f08ba2c68c3055893e61cc03727fe, 43d26997d88c4056fce0324e72f62556bc7e8e8d, 0d59ce2bfc3bb13abe6240335a1bf7b96536d022

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux2aad40d911eeb7dcac91c669f2762a28134f0eb1, 2aad40d911eeb7dcac91c669f2762a28134f0eb1, 2aad40d911eeb7dcac91c669f2762a28134f0eb1
LinuxLinux4.11, 0, 5.4.297
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.5
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.5
SiemensSIMATIC CN 41000
LinuxLinux2aad40d911eeb7dcac91c669f2762a28134f0eb1, 5.10.241, 5.15.190
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.5
linuxlinux_kernel4.11, 4.11, 4.11

Timeline

  • Sep 11, 2025 CVE Published
  • Sep 12, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (13 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (194 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (207 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score
  • Oct 29, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39787
vulnetix vdb fixes CVE-2025-39787

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39787/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›