Buffer overflow in the SCSI implementation in QEMU, as used in Xen, when a SCSI controller has more than 256 attached devices, allows local
Buffer overflow in the SCSI implementation in QEMU, as used in Xen, when a SCSI controller has more than 256 attached devices, allows local users to gain privileges via a small transfer buffer in a REPORT LUNS command.
- Published
- Oct 4, 2013
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 35th percentile
- CWE
- CWE-120
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; 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 helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| qemu | qemu | cpe:2.3:a:qemu:qemu |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| redhat | virtualization | cpe:2.3:a:redhat:virtualization |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux12.10
- canonical ubuntu linux13.10
- opensuse opensuse12.3
- opensuse opensuse13.1
- qemu qemuup to 1.6.2 inclusive
- redhat enterprise linux desktop6.0
- redhat enterprise linux server6.0
- redhat enterprise linux workstation6.0
- redhat virtualization3.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | qemu | before 1.6.0+dfsg-2 | 1.6.0+dfsg-2 |
| Debian:12 | xen | before 4.2-1 | 4.2-1 |
| Debian:7 | qemu | before 1.1.2+dfsg-6a+deb7u3 | 1.1.2+dfsg-6a+deb7u3 |
| Debian:7 | qemu-kvm | before 1.1.2+dfsg-6+deb7u3 | 1.1.2+dfsg-6+deb7u3 |
| Red Hat:enterprise_linux:6::client | qemu-guest-agent | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::client | qemu-img | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::client | qemu-kvm | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::client | qemu-kvm-debuginfo | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::client | qemu-kvm-tools | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::hypervisor | qemu-img-rhev | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::hypervisor | qemu-kvm-rhev | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::hypervisor | qemu-kvm-rhev-debuginfo | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::hypervisor | qemu-kvm-rhev-tools | before 2:0.12.1.2-2.415.el6 | 2:0.12.1.2-2.415.el6 |
| Red Hat:enterprise_linux:6::hypervisor | rhev-hypervisor6 | before 0:6.5-20131115.0.3.2.el6_5 | 0:6.5-20131115.0.3.2.el6_5 |
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 |
|---|---|---|
| debian:qemu | 1.6.0+dfsg-2 · Debian:12 | Package registry (OSV) |
| debian:qemu-kvm | 1.1.2+dfsg-6+deb7u3 · Debian:7 | Package registry (OSV) |
| debian:xen | 4.2-1 · Debian:12 | Package registry (OSV) |
| red hat:qemu-guest-agent | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:qemu-img | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:qemu-img-rhev | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::hypervisor | Package registry (OSV) |
| red hat:qemu-kvm | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:qemu-kvm-debuginfo | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:qemu-kvm-rhev | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::hypervisor | Package registry (OSV) |
| red hat:qemu-kvm-rhev-debuginfo | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::hypervisor | Package registry (OSV) |
| red hat:qemu-kvm-rhev-tools | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::hypervisor | Package registry (OSV) |
| red hat:qemu-kvm-tools | 2:0.12.1.2-2.415.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:rhev-hypervisor6 | 0:6.5-20131115.0.3.2.el6_5 · Red Hat:enterprise_linux:6::hypervisor | Package registry (OSV) |
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
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')CVSS vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
nvd-primary
Root cause
When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.
The bug in code
The whole CWE-120 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
char buf[256];memcpy(buf, pkt->data, pkt->len);Fixed
char buf[256];if (pkt->len > sizeof(buf)) { return -EINVAL;}memcpy(buf, pkt->data, pkt->len);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
- Overflow Variables and TagsCAPEC-46likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- article.gmane.org/gmane.comp.emulators.qemu/237191
- lists.opensuse.org/opensuse-security-announce/2014-10/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2014-10/msg00003.html
- osvdb.org/98028
- rhn.redhat.com/errata/RHSA-2013-1553.html
- rhn.redhat.com/errata/RHSA-2013-1754.html
- www.openwall.com/lists/oss-security/2013/10/02/2
- www.securityfocus.com/bid/62773
- www.ubuntu.com/usn/USN-2092-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.