{"id":"CVE-2018-5840","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Buffer Copy without Checking Size of Input can occur during the DRM SDE driver initialization sequence in all Android r…","description":"Buffer Copy without Checking Size of Input can occur during the DRM SDE driver initialization sequence in all Android releases from CAF (Android for MSM, Firefox OS for MSM, QRD Android) using the Linux Kernel.","ai_summary":null,"severity":"high","cvss":{"score":7.8,"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":7.8,"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd"},{"score":9.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":["CWE-120"],"remote":false,"remote_unauth":false,"epss":{"score":0.00375,"percentile":0.33558,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"Qualcomm, Inc.","product":"Android for MSM, Firefox OS for MSM, QRD Android","versions":"All Android releases from CAF using the Linux kernel","source":"cvelist"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://www.codeaurora.org/security-bulletin/2018/05/11/may-2018-code-aurora-security-bulletin-2","kind":"patch"},{"url":"https://source.android.com/security/bulletin/2018-05-01","kind":"patch"}],"workarounds":null,"vendors":["google","qualcomm, inc."],"products":["android","android for msm, firefox os for msm, qrd android"],"cpes":["cpe:2.3:o:google:android:-:*:*:*:*:*:*:*"],"published_at":"2018-06-06T21:00:00.000Z","modified_at":"2026-06-17T02:00:52.667Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5840"}],"links":{"html":"https://flawdb.com/CVE-2018-5840","markdown":"https://flawdb.com/CVE-2018-5840.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-5840"}}