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

CVE record · `CVE-2025-39787`

- **Identifiers:** `CVE-2025-39787`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 11 Sept 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 11 Sept 2025, 16:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `2aad40d911eeb7dcac91c669f2762a28134f0eb1 to before 1096eb63ecfc8df90b70cd068e6de0c2ff204dfd` (git)
  - affected: `2aad40d911eeb7dcac91c669f2762a28134f0eb1 to before e1720eb32acf411c328af6a8c8f556c94535808e` (git)
  - affected: `2aad40d911eeb7dcac91c669f2762a28134f0eb1 to before 0d59ce2bfc3bb13abe6240335a1bf7b96536d022` (git)
  - affected: `2aad40d911eeb7dcac91c669f2762a28134f0eb1 to before 43d26997d88c4056fce0324e72f62556bc7e8e8d` (git)
  - affected: `2aad40d911eeb7dcac91c669f2762a28134f0eb1 to before 981c845f29838e468a9bfa87f784307193a31297` (git)
  - affected: `2aad40d911eeb7dcac91c669f2762a28134f0eb1 to before 87bfabb3b2f46827639173f143aa43f7cfc0a7e6` (git)
  - affected: `2aad40d911eeb7dcac91c669f2762a28134f0eb1 to before 81278be4eb5f08ba2c68c3055893e61cc03727fe` (git)
  - affected: `2aad40d911eeb7dcac91c669f2762a28134f0eb1 to before 9f9967fed9d066ed3dae9372b45ffa4f6fccfeef` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.11`
  - unaffected: `before 4.11` (semver)
  - unaffected: `5.4.297 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.241 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.149 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.103 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.44 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.4 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 7th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 11 Sept 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-39787](https://www.cve.org/CVERecord?id=CVE-2025-39787)
- [NVD: CVE-2025-39787](https://nvd.nist.gov/vuln/detail/CVE-2025-39787)

### References from the CNA

- <https://git.kernel.org/stable/c/1096eb63ecfc8df90b70cd068e6de0c2ff204dfd>
- <https://git.kernel.org/stable/c/e1720eb32acf411c328af6a8c8f556c94535808e>
- <https://git.kernel.org/stable/c/0d59ce2bfc3bb13abe6240335a1bf7b96536d022>
- <https://git.kernel.org/stable/c/43d26997d88c4056fce0324e72f62556bc7e8e8d>
- <https://git.kernel.org/stable/c/981c845f29838e468a9bfa87f784307193a31297>
- <https://git.kernel.org/stable/c/87bfabb3b2f46827639173f143aa43f7cfc0a7e6>
- <https://git.kernel.org/stable/c/81278be4eb5f08ba2c68c3055893e61cc03727fe>
- <https://git.kernel.org/stable/c/9f9967fed9d066ed3dae9372b45ffa4f6fccfeef>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-39787>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-39787/>. Everything for agents: <https://agentprime.io/llms.txt>.
