CVE-2012-2652 json
The bdrv_open function in Qemu 1.0 does not properly handle the failure of the mkstemp function, when in snapshot node, which allows local…
published 2012-08-07 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2638
- cvss
- 4.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
The bdrv_open function in Qemu 1.0 does not properly handle the failure of the mkstemp function, when in snapshot node, which allows local users to overwrite or read arbitrary files via a symlink attack on an unspecified temporary file.
Patch / fix
- qemu Debian 14, Debian 13, Debian 12 1.1.0+dfsg-1
debian advisories DEBIAN-CVE-2012-2652
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-2652 updated cvss 4.6
qemu: vulnerable to temporary file symlink attacks
-
Red Hat Enterprise Linux 5 kvm Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32affected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
References
-
lists.opensuse.org
/opensuse-security-announce/2012-09/msg00024.html
vendor-advisory
-
ubuntu.com
/usn/USN-1522-1
vendor-advisory
-
debian.org
/security/2012/dsa-2545
vendor-advisory
-
secunia.com
/advisories/50132
third-party-advisory, vendor-advisory
- git.qemu.org /?p=qemu-stable-0.15.git%3Ba=log
-
secunia.com
/advisories/50689
third-party-advisory
-
securityfocus.com
/bid/53725
vdb-entry
- git.kernel.org /?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169
Sources
- CVE List CVE-2012-2652
- NVD CVE-2012-2652
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.