{"api_version":"1","generated_at":"2026-04-22T23:52:39+00:00","cve":"CVE-2021-0512","urls":{"html":"https://cve.report/CVE-2021-0512","api":"https://cve.report/api/cve/CVE-2021-0512.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-0512","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-0512"},"summary":{"title":"CVE-2021-0512","description":"In __hidinput_change_resolution_multipliers of hid-input.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-173843328References: Upstream kernel","state":"PUBLIC","assigner":"security@android.com","published_at":"2021-06-21 17:15:00","updated_at":"2021-06-23 18:04:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://source.android.com/security/bulletin/2021-06-01","name":"https://source.android.com/security/bulletin/2021-06-01","refsource":"MISC","tags":[],"title":"Android Security Bulletin—June 2021  |  Android Open Source Project","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-0512","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0512","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"google","cpe5":"android","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-0512","qid":"159403","title":"Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9459)"},{"cve":"CVE-2021-0512","qid":"159443","title":"Oracle Enterprise Linux Security Update for kernel (ELSA-2021-4056)"},{"cve":"CVE-2021-0512","qid":"179534","title":"Debian Security Update for linux (CVE-2021-0512)"},{"cve":"CVE-2021-0512","qid":"239612","title":"Red Hat Update for kernel (RHSA-2021:3446)"},{"cve":"CVE-2021-0512","qid":"239613","title":"Red Hat Update for kernel-rt (RHSA-2021:3445)"},{"cve":"CVE-2021-0512","qid":"239615","title":"Red Hat Update for kpatch-patch (RHSA-2021:3443)"},{"cve":"CVE-2021-0512","qid":"239762","title":"Red Hat Update for kernel-rt (RHSA-2021:4088)"},{"cve":"CVE-2021-0512","qid":"239771","title":"Red Hat Update for kernel security (RHSA-2021:4056)"},{"cve":"CVE-2021-0512","qid":"239772","title":"Red Hat Update for kpatch-patch (RHSA-2021:4122)"},{"cve":"CVE-2021-0512","qid":"390248","title":"Oracle Managed Virtualization (VM) Server for x86 Security Update for kernel (OVMSA-2021-0035)"},{"cve":"CVE-2021-0512","qid":"610344","title":"Google Android Devices June 2021 Security Patch Missing"},{"cve":"CVE-2021-0512","qid":"610354","title":"Google Android July 2021 Security Patch Missing for LGE"},{"cve":"CVE-2021-0512","qid":"610355","title":"Google Android July 2021 Security Patch Missing for Samsung"},{"cve":"CVE-2021-0512","qid":"610358","title":"Google Android July 2021 Security Patch Missing for Huawei EMUI"},{"cve":"CVE-2021-0512","qid":"670772","title":"EulerOS Security Update for kernel (EulerOS-SA-2021-2530)"},{"cve":"CVE-2021-0512","qid":"670796","title":"EulerOS Security Update for kernel (EulerOS-SA-2021-2554)"},{"cve":"CVE-2021-0512","qid":"672711","title":"EulerOS Security Update for kernel (EulerOS-SA-2023-1507)"},{"cve":"CVE-2021-0512","qid":"750828","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:2305-1)"},{"cve":"CVE-2021-0512","qid":"750830","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:2321-1)"},{"cve":"CVE-2021-0512","qid":"750832","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:2324-1)"},{"cve":"CVE-2021-0512","qid":"750842","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:2352-1)"},{"cve":"CVE-2021-0512","qid":"750864","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:2421-1)"},{"cve":"CVE-2021-0512","qid":"750867","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 35 for SLE 12 SP3) (SUSE-SU-2021:2433-1)"},{"cve":"CVE-2021-0512","qid":"750868","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:2427-1)"},{"cve":"CVE-2021-0512","qid":"750869","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:2422-1)"},{"cve":"CVE-2021-0512","qid":"750877","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:2427-1)"},{"cve":"CVE-2021-0512","qid":"750880","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2021:2451-1)"},{"cve":"CVE-2021-0512","qid":"940068","title":"AlmaLinux Security Update for kernel (ALSA-2021:4056)"},{"cve":"CVE-2021-0512","qid":"960019","title":"Rocky Linux Security Update for kernel-rt (RLSA-2021:4088)"},{"cve":"CVE-2021-0512","qid":"960061","title":"Rocky Linux Security Update for kernel (RLSA-2021:4056)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-0512","ASSIGNER":"security@android.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Android","version":{"version_data":[{"version_value":"Android kernel"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Elevation of privilege"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://source.android.com/security/bulletin/2021-06-01","url":"https://source.android.com/security/bulletin/2021-06-01"}]},"description":{"description_data":[{"lang":"eng","value":"In __hidinput_change_resolution_multipliers of hid-input.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-173843328References: Upstream kernel"}]}},"nvd":{"publishedDate":"2021-06-21 17:15:00","lastModifiedDate":"2021-06-23 18:04:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:google:android:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"512","Ordinal":"190214","Title":"CVE-2021-0512","CVE":"CVE-2021-0512","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"512","Ordinal":"1","NoteData":"In __hidinput_change_resolution_multipliers of hid-input.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-173843328References: Upstream kernel","Type":"Description","Title":null},{"CveYear":"2021","CveId":"512","Ordinal":"2","NoteData":"2021-06-21","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"512","Ordinal":"3","NoteData":"2021-06-21","Type":"Other","Title":"Modified"}]}}}