CVE-2021-4158: qemu NULL Pointer Dereference
Vulnerability summary
CVE-2021-4158 is a medium (CVSS 6.0) NULL Pointer Dereference vulnerability in qemu. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 34.2% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 24-08-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.40% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (gitlab.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- qemu≥ 6.0.0, < 7.0.0-r0
Debian1 product
- qemu< 1:6.2+dfsg-2
Opensuse1 product
- qemu&distro=openSUSE Tumbleweed< 6.2.0-40.1
Qemu1 product
- qemu≥ 6.0.0, < 7.0.0
Redhat1 product
Ubuntu1 product
- qemu< 1:6.2+dfsg-2ubuntu5
6 vendors · 6 products
References
14 links- www.mail-archive.com/qemu-devel%40nongnu.org/msg857944.htmlX Refsource MISCPatchThird Party Advisory
- gitlab.com/qemu-project/qemu/-/commit/9bd6565ccee68f72d5012e24646e12a1c662827eX Refsource MISCPatchThird Party Advisory