CVE-2021-4158: QEMU - Null Pointer Dereference
- Cve: CVE-2021-4158
- Name: QEMU - Null Pointer Dereference
- Description: A NULL pointer dereference issue was found in the ACPI code of QEMU. A malicious, privileged user within the guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.
- Impact: Attackers can cause a denial of service by crashing the QEMU process on the host.
- Remediation: Update to the latest version of QEMU where the issue is fixed.
- Vulnerability type: null_pointer_dereference
- Vulnerability impact: denial_of_service
- Requirement type: logged_in
- Requirements: Attacker needs privileged access within the guest
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
- Epss score: 0.00399
- Epss percentile: 0.34948
- Assignee: [email protected]
- Published at: 2022-08-24T16:15:09Z
- Age in days: 1553
- Modified at: 2026-06-17T04:19:07Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-4158
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-476 | NULL Pointer Dereference |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gitlab.com/qemu-project/qemu/-/issues/770 | nvd | 2022-08-24 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2035002 | Issue Tracking, Patch, Third Party Advisory |
| https://gitlab.com/qemu-project/qemu/-/commit/9bd6565ccee68f72d5012e24646e12a1c662827e | Patch, Third Party Advisory |
| https://www.mail-archive.com/qemu-devel%40nongnu.org/msg857944.html | Patch, Third Party Advisory |
| https://gitlab.com/qemu-project/qemu/-/issues/770 | Exploit, Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2021-4158 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| qemu:qemu | >= 6.0.0, < 7.0.0 | no | nvd | /v1/products/qemu/qemu |
| redhat:enterprise_linux | = 9.0 | no | nvd | /v1/products/redhat/enterprise_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-08-24
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts