An off-by-one error was found in the SCSI device emulation in QEMU.
An off-by-one error was found in the SCSI device emulation in QEMU. It could occur while processing MODE SELECT commands in mode_sense_page() if the 'page' argument was set to MODE_PAGE_ALLS (0x3f). A malicious guest could use this flaw to potentially crash QEMU, resulting in a denial of service condition.
- Published
- Feb 18, 2022
- Updated
- Jun 17, 2026
- EPSS
- 0.3% · 25th percentile
- CWE
- CWE-193
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
26
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| qemu | qemu | cpe:2.3:a:qemu:qemu |
| redhat | codeready linux builder | cpe:2.3:a:redhat:codeready_linux_builder |
| redhat | codeready linux builder for ibm z systems | cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems |
| redhat | codeready linux builder for power little endian | cpe:2.3:a:redhat:codeready_linux_builder_for_power_little_endian |
| redhat | openstack | cpe:2.3:a:redhat:openstack |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux advanced virtualization eus | cpe:2.3:o:redhat:enterprise_linux_advanced_virtualization_eus |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- qemu qemubefore 6.2.0
- redhat codeready linux builder8.0
- redhat codeready linux builder for ibm z systems8.0
- redhat codeready linux builder for power little endian8.0
- redhat enterprise linux8.0
- redhat enterprise linux advanced virtualization eus8.4
- redhat enterprise linux for ibm z systems8.0
- redhat enterprise linux for power little endian8.0
- redhat openstack10
- redhat openstack13
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a QEMU
- qemu-kvm 6.2.0-rc0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | hivex | before 1.3.18-21.module_el8.5.0+2608+72063365 | 1.3.18-21.module_el8.5.0+2608+72063365 |
| AlmaLinux:8 | hivex-devel | before 1.3.18-21.module_el8.5.0+2608+72063365 | 1.3.18-21.module_el8.5.0+2608+72063365 |
| AlmaLinux:8 | libguestfs | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-bash-completion | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-benchmarking | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-devel | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-gfs2 | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-gobject | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-gobject-devel | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-inspect-icons | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-java | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-java-devel | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-javadoc | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-man-pages-ja | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-man-pages-uk | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-rescue | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-rsync | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-tools | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-tools-c | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libguestfs-winsupport | before 8.2-1.module_el8.5.0+2608+72063365 | 8.2-1.module_el8.5.0+2608+72063365 |
| AlmaLinux:8 | libguestfs-xfs | before 1:1.40.2-28.module_el8.5.0+2608+72063365.alma | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma |
| AlmaLinux:8 | libiscsi | before 1.18.0-8.module_el8.6.0+2880+7d9e3703 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 |
| AlmaLinux:8 | libiscsi | before 1.18.0-8.module_el8.5.0+2608+72063365 | 1.18.0-8.module_el8.5.0+2608+72063365 |
| AlmaLinux:8 | libiscsi-devel | before 1.18.0-8.module_el8.6.0+2880+7d9e3703 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 |
+96
Same product
qemu: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-12928The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the remote attacker to achieve46Plan
- CVE-2015-8556Local privilege escalation vulnerability in the Gentoo QEMU package before 2.5.0-r1.44Plan
- CVE-2017-15118A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an expor43Plan
- CVE-2022-36648The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier, allows remote attackers 41Plan
- CVE-2017-16845hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.41Plan
- CVE-2016-7161Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitr41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:hivex | 1.3.18-21.module_el8.5.0+2608+72063365 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:hivex-devel | 1.3.18-21.module_el8.5.0+2608+72063365 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-bash-completion | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-benchmarking | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-devel | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-gfs2 | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-gobject | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-gobject-devel | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-inspect-icons | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-java | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libguestfs-java-devel | 1:1.40.2-28.module_el8.5.0+2608+72063365.alma · AlmaLinux:8 | Package registry (OSV) |
| debian:qemu | 1:6.2+dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:qemu | 5.2.0-150300.112.4 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:qemu-linux-user | 5.2.0-150300.112.3 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:qemu-testsuite | 5.2.0-150300.112.7 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:hivex | 0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:hivex-debuginfo | 0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:hivex-debugsource | 0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:hivex-devel | 0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-bash-completion | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-debuginfo | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-debugsource | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-devel | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-gfs2 | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:libguestfs-gobject | 1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| red hat:SLOF | 0:20200717-1.gite18ddad8.module+el8.4.0+8855+a9e237a9 · Red Hat:advanced_virtualization:8.4::el8 | Package registry (OSV) |
| rocky linux:hivex | 0:1.3.18-21.module+el8.4.0+642+7e26f5e1 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:libguestfs | 1:1.40.2-28.module+el8.5.0+670+c4aa478c · Rocky Linux:8 | Package registry (OSV) |
+12
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-193 · Off-by-one ErrorCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugzilla.redhat.com/show_bug.cgi?id=2020588
- lists.debian.org/debian-lts-announce/2022/04/msg00002.html
- lists.debian.org/debian-lts-announce/2022/09/msg00008.html
- security.gentoo.org/glsa/202208-27
- security.netapp.com/advisory/ntap-20220225-0007/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.