Out-of-bounds write in Android
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 9 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Android | Android kernel | — | No fix listed | CNA |
- Android Vendor— Affected Android kernel Fixed in — No fix listed CNA
Remediation
Red Hat 7 advisories
- RHSA-2021:4750 Released 2021-11-19 · Red Hat rating ImportantRed Hat Virtualization Host security and bug fix update [ovirt-4.4.9] 0-day
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.4.9-202111172338_8.5, redhat-virtualization-host-image-update-4.4.9-202111172338_8.5
- RHSA-2021:4122 Released 2021-11-03 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 8) kpatch-patch-4_18_0-305-1-6.el8, kpatch-patch-4_18_0-305_10_2-1-3.el8_4, kpatch-patch-4_18_0-305_12_1-1-2.el8_4 +4
- RHSA-2021:4088 Released 2021-11-02 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time (v. 8) kernel-rt-4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-core-4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-debug-4.18.0-305.25.1.rt7.97.el8_4 +7
- Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt-4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-core-4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-debug-4.18.0-305.25.1.rt7.97.el8_4 +9
Show 4 more Red Hat advisories
- RHSA-2021:4056 Released 2021-11-02 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-305.25.1.el8_4
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-305.25.1.el8_4, kernel-4.18.0-305.25.1.el8_4, kernel-abi-stablelists-4.18.0-305.25.1.el8_4 +19
- RHSA-2021:3446 Released 2021-09-07 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v. 8.2) kernel-tools-libs-devel-4.18.0-193.65.2.el8_2
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) bpftool-4.18.0-193.65.2.el8_2, kernel-4.18.0-193.65.2.el8_2, kernel-abi-whitelists-4.18.0-193.65.2.el8_2 +19
- RHSA-2021:3445 Released 2021-09-07 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time EUS (v. 8.2) kernel-rt-4.18.0-193.65.2.rt13.117.el8_2, kernel-rt-core-4.18.0-193.65.2.rt13.117.el8_2, kernel-rt-debug-4.18.0-193.65.2.rt13.117.el8_2 +7
- Red Hat Enterprise Linux Real Time for NFV EUS (v. 8.2) kernel-rt-4.18.0-193.65.2.rt13.117.el8_2, kernel-rt-core-4.18.0-193.65.2.rt13.117.el8_2, kernel-rt-debug-4.18.0-193.65.2.rt13.117.el8_2 +9
- RHSA-2021:3443 Released 2021-09-07 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) kpatch-patch-4_18_0-193_19_1-1-12.el8_2, kpatch-patch-4_18_0-193_28_1-1-10.el8_2, kpatch-patch-4_18_0-193_29_1-1-10.el8_2 +9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2021:4056 |
| Red Hat CodeReady Linux Builder EUS (v. 8.2) | Fixed | RHSA-2021:3446 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2021:4056, RHSA-2021:4122 |
| Red Hat Enterprise Linux BaseOS EUS (v. 8.2) | Fixed | RHSA-2021:3443, RHSA-2021:3446 |
| Red Hat Enterprise Linux Real Time (v. 8) | Fixed | RHSA-2021:4088 |
| Red Hat Enterprise Linux Real Time EUS (v. 8.2) | Fixed | RHSA-2021:3445 |
| Red Hat Enterprise Linux Real Time for NFV (v. 8) | Fixed | RHSA-2021:4088 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v. 8.2) | Fixed | RHSA-2021:3445 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2021:4750 |
Not affected: 3 products
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-0512
- 2026-10-03 Alias added: GHSA-x4h3-hq3r-rqx8
References
More Google Android vulnerabilities
- TI-2026-42236 Improper authorization in Google Android KEVCVSS 3.1HIGH 8.8
- TI-2025-30821 Use after free in Google Android KEVCVSS 3.1HIGH 8.8
- TI-2023-17777 Improper privilege management in Google Android KEVCVSS 3.1HIGH 8.8
- TI-2025-30872 Integer overflow in Google Android KEVCVSS 3.1HIGH 8.4
- TI-2024-21766 there is a possible way to bypass due to a logic error in the code. KEVCVSS 3.1HIGH 8.1
- TI-2025-30849 Missing authentication in Google Android KEVCVSS 3.1HIGH 7.8
Sources
- CVE-2021-0512 · CVE Program
- CVE-2021-0512 · NVD
- FIRST EPSS
- GHSA-x4h3-hq3r-rqx8 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-0512 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences