{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-21040","published":"2020-04-08T17:15:12.273000Z","last_modified":"2026-06-17T01:54:00.937000Z","status":"Modified","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-362","CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:google:android:8.0:*:*:*:*:*:*:*","part":"o","vendor":"google","product":"android","version":"8.0"},{"criteria":"cpe:2.3:o:google:android:8.1:*:*:*:*:*:*:*","part":"o","vendor":"google","product":"android","version":"8.1"},{"criteria":"cpe:2.3:o:google:android:9.0:*:*:*:*:*:*:*","part":"o","vendor":"google","product":"android","version":"9.0"}],"cpes_truncated":false,"vendors":["google"],"products":["google/android"],"epss":{"score":0.00309,"percentile":0.16216,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"os","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2018-21040/","html_en":"/en/cve/CVE-2018-21040/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-21040","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-21040"},"untrusted":{"vendor_name":"Google","product_name":"Android","desc_en":"An issue was discovered on Samsung mobile devices with O(8.x) and P(9.0) (Exynos 9810 chipsets) software. There is a race condition with a resultant use-after-free in the g2d driver. The Samsung ID is SVE-2018-12959 (December 2018).","affected":[],"references":[{"url":"https://security.samsungmobile.com/securityUpdate.smsb","tags":["Vendor Advisory"]}]}}