{"id":"CVE-2025-39787","title":"kernel: Linux kernel: Denial of Service in MDT loader due to improper ELF header validation (CVE-2025-39787)","summary":"A flaw was found in the Linux kernel's soc: qcom: mdt_loader component. This vulnerability allows a local attacker to cause a Denial of Service (DoS) by providing a specially crafted firmware buffer. The flaw occurs because the MDT loader …","severity":"medium","cvss":6,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H","cvssSource":"vendor","cwe":"CWE-125","vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","affected":["enterprise_linux 10"],"published":"2025-09-11","updated":"2026-10-16","sourceUpdated":"2026-10-16T22:56:09+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-39787.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-39787.json"},{"url":"https://access.redhat.com/security/cve/CVE-2025-39787"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2394649"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-39787"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39787"},{"url":"https://lore.kernel.org/linux-cve-announce/2025091151-CVE-2025-39787-227f@gregkh/T"},{"url":"https://git.kernel.org/stable/c/1096eb63ecfc8df90b70cd068e6de0c2ff204dfd"},{"url":"https://git.kernel.org/stable/c/e1720eb32acf411c328af6a8c8f556c94535808e"},{"url":"https://git.kernel.org/stable/c/0d59ce2bfc3bb13abe6240335a1bf7b96536d022"},{"url":"https://git.kernel.org/stable/c/43d26997d88c4056fce0324e72f62556bc7e8e8d"},{"url":"https://git.kernel.org/stable/c/981c845f29838e468a9bfa87f784307193a31297"},{"url":"https://git.kernel.org/stable/c/87bfabb3b2f46827639173f143aa43f7cfc0a7e6"},{"url":"https://git.kernel.org/stable/c/81278be4eb5f08ba2c68c3055893e61cc03727fe"},{"url":"https://git.kernel.org/stable/c/9f9967fed9d066ed3dae9372b45ffa4f6fccfeef"}],"tags":["csaf","vex","red-hat","cve.org"],"epss":0.00172,"epssPercentile":0.06174,"scores":{"vendor":6,"cna":7.8},"ingestedAt":"2026-10-15T05:52:46.077Z","slug":"CVE-2025-39787","body":"## Overview\n\nA flaw was found in the Linux kernel's soc: qcom: mdt_loader component. This vulnerability allows a local attacker to cause a Denial of Service (DoS) by providing a specially crafted firmware buffer. The flaw occurs because the MDT loader does not sufficiently validate the size of the ELF header and its section entry sizes (e_phentsize and e_shentsize), leading to a read past the end of the buffer.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10 · no fix planned: Red Hat Enterprise Linux 10 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-39787.json)\n\n**kernel: Linux kernel: Denial of Service in MDT loader due to improper ELF header validation** — rated Moderate by Red Hat. Released 2025-09-11, updated 2026-10-16.\n\nAffected:\n\n- Red Hat Enterprise Linux 10\n\nNo fix planned:\n\n- Red Hat Enterprise Linux 10\n\nNot affected:\n\n- Red Hat Enterprise Linux 6\n- Red Hat Enterprise Linux 7\n- Red Hat Enterprise Linux 8\n- Red Hat Enterprise Linux 9\n\n## Remediation\n\nFix deferred\n\nWorkarounds / mitigations:\n\n- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":33,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":223721,"id":"CVE-2025-39787","ts":1792238376403,"field":"cvss","old":"7.8","new":"6"},{"seq":223720,"id":"CVE-2025-39787","ts":1792238376403,"field":"severity","old":"high","new":"medium"}]}