QEMU - Buffer Overflow and Off-by-One Error Vulnerabilities

qemu Updated 02 Oct 2025

Summary

19/05/2014
N/A
Yes i
Unrated
Not published

DSA-2932-1: qemu - security update. Affects qemu versions < 1.1.2+dfsg-6a+deb7u3. Fixed in 1.1.2+dfsg-6a+deb7u3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

QEMU is a fast processor emulator that allows users to run virtual machines on various host platforms. It provides hardware virtualization for a wide range of devices, including SCSI controllers and IDE drives. QEMU is widely used in virtualization environments to emulate different architectures and run guest operating systems. However, several vulnerabilities have been discovered in QEMU that could potentially be exploited by local users to gain privileges or cause memory corruption.

Vulnerability Detail

The first vulnerability, identified as CVE-2013-4344, involves a buffer overflow in the SCSI implementation of QEMU. When a SCSI controller has more than 256 attached devices, a local user can exploit this vulnerability by sending a small transfer buffer in a REPORT LUNS command, potentially gaining elevated privileges. The second vulnerability, known as CVE-2014-2894, is an off-by-one error in the cmd_smart function of the smart self-test in QEMU's IDE core. This vulnerability allows local users to trigger a buffer underflow and memory corruption by executing a SMART EXECUTE OFFLINE command, leading to unspecified impacts.

How To Fix

Minimum fixed version

1.1.2+dfsg-6a+deb7u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade qemu

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

QEMU is susceptible to buffer overflow and off-by-one error vulnerabilities, which can be exploited by local users to gain privileges or cause memory corruption. It is crucial to upgrade to the recommended versions of QEMU to mitigate these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for qemu →

Share this vulnerability

FAQ

QEMU is a fast processor emulator that allows users to run virtual machines on various host platforms. It provides hardware virtualization for a wide range of devices.

The impact of CVE-2013-4344 is that local users can gain privileges by exploiting a buffer overflow in the SCSI implementation of QEMU when a SCSI controller has more than 256 attached devices.

The impact of CVE-2014-2894 is that local users can trigger a buffer underflow and memory corruption in QEMU's IDE core by executing a SMART EXECUTE OFFLINE command.

To fix these vulnerabilities, you should upgrade your QEMU packages to the recommended versions mentioned in the 'how_to_fix' section.

The necessary updates can be obtained from the official Debian repositories.

How To Fix

Minimum fixed version

1.1.2+dfsg-6a+deb7u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade qemu

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback