CVE-2012-2652
The bdrv_open function in Qemu 1.0 does not properly handle the failure of the mkstemp function,...
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.
Exploit likelihood
What each source reports
NVD Score used
4.4
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.
- Record
CVE-2012-2652- CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-2652- Updated
- 2026-11-02
EUVDEUVD-2012-2638 No score
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.
- Record
EUVD-2012-2638- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-47rg-xchh-xj5g No score
The bdrv_open function in Qemu 1.0 does not properly handle the failure of the mkstemp function,...
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.
- Record
GHSA-47rg-xchh-xj5g- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-2652- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-2652 No score
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.
- Record
DEBIAN-CVE-2012-2652- Updated
- 2026-11-02
OSVSUSE-SU-2015:0929-1 No score
Security update for kvm
The kvm qemu vt100 emulation was affected by a problem where specific vt100 sequences could have been used by guest users to affect the host. (CVE-2012-3515 aka XSA-17).
Also a temp file race was fixed. (CVE-2012-2652)
Security Issue reference:
* CVE-2012-3515
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3515>
* CVE-2012-2652
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2652>
- Record
SUSE-SU-2015:0929-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:0943-1 No score
Security update for KVM
This update fixes a file permission issue with qga (the QEMU Guest Agent) from the qemu/kvm package and includes several bug-fixes.
(bnc#818182) (CVE-2013-2007) (bnc#786813) (bnc#725008) (bnc#712137) (bnc#824340)
Security Issues:
* CVE-2013-2007
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2007>
- Record
SUSE-SU-2015:0943-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
qemuDebian:12 |
before 1.1.0+dfsg-1 | 1.1.0+dfsg-1 |
qemuDebian:13 |
before 1.1.0+dfsg-1 | 1.1.0+dfsg-1 |
qemuDebian:14 |
before 1.1.0+dfsg-1 | 1.1.0+dfsg-1 |
qemu-kvmDebian:6.0 |
before 0.12.5+dfsg-5+squeeze9, plus listed versions 0.12.5+dfsg-50.12.5+dfsg-5+squeeze10.12.5+dfsg-5+squeeze20.12.5+dfsg-5+squeeze30.12.5+dfsg-5+squeeze4 Show 5 moreShow less0.12.5+dfsg-5+squeeze4~bpo50+10.12.5+dfsg-5+squeeze50.12.5+dfsg-5+squeeze60.12.5+dfsg-5+squeeze70.12.5+dfsg-5+squeeze8 |
0.12.5+dfsg-5+squeeze9 |
qemuDebian:6.0 |
before 0.12.5+dfsg-3squeeze2, plus listed versions 0.12.5+dfsg-30.12.5+dfsg-3squeeze1 |
0.12.5+dfsg-3squeeze2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-2652 is a medium vulnerability (CVSS 4.4) in Qemu, published August 7, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 28th percentile. Fixed in qemu 1.1.0+dfsg-1.
References
secunia.com/advisories/50132
git.qemu.org?p=qemu-stable-0.15.git%3Ba=log
secunia.com/advisories/50689
securityfocus.com/bid/53725
lists.opensuse.org/opensuse-security-announce/2012-09/msg00024.html
ubuntu.com/usn/USN-1522-1
Show 64 moreShow less
git.kernel.org?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169
debian.org/security/2012/dsa-2545
nvd.nist.gov/vuln/detail/CVE-2012-2652
git.kernel.org?p=virt/kvm/qemu-kvm.git;a=commit;h=eba25057b9a5e19d10ace2bc7716667a31297169
git.qemu.org?p=qemu-stable-0.15.git;a=log
github.com/advisories/GHSA-47rg-xchh-xj5g
security-tracker.debian.org/tracker/CVE-2012-2652
suse.com/support/update/announcement/2015/suse-su-20150929-1
bugzilla.suse.com/598271
bugzilla.suse.com/598298
bugzilla.suse.com/599095
bugzilla.suse.com/603161
bugzilla.suse.com/603179
bugzilla.suse.com/610682
bugzilla.suse.com/619991
bugzilla.suse.com/621793
bugzilla.suse.com/626654
bugzilla.suse.com/637297
bugzilla.suse.com/689895
bugzilla.suse.com/690781
bugzilla.suse.com/695510
bugzilla.suse.com/695766
bugzilla.suse.com/698237
bugzilla.suse.com/701161
bugzilla.suse.com/702823
bugzilla.suse.com/704933
bugzilla.suse.com/705095
bugzilla.suse.com/705304
bugzilla.suse.com/740165
bugzilla.suse.com/764526
bugzilla.suse.com/777084
bugzilla.suse.com/877642
bugzilla.suse.com/877645
bugzilla.suse.com/929339
bugzilla.suse.com/932770
suse.com/security/cve/CVE-2011-1750
suse.com/security/cve/CVE-2011-1751
suse.com/security/cve/CVE-2011-2212
suse.com/security/cve/CVE-2011-2512
suse.com/security/cve/CVE-2011-2527
suse.com/security/cve/CVE-2012-0029
suse.com/security/cve/CVE-2012-2652
suse.com/security/cve/CVE-2012-3515
suse.com/security/cve/CVE-2014-0222
suse.com/security/cve/CVE-2014-0223
suse.com/security/cve/CVE-2015-3209
suse.com/security/cve/CVE-2015-3456
suse.com/support/update/announcement/2015/suse-su-20150943-1
bugzilla.suse.com/709405
bugzilla.suse.com/712137
bugzilla.suse.com/722643
bugzilla.suse.com/722958
bugzilla.suse.com/724813
bugzilla.suse.com/725008
bugzilla.suse.com/747339
bugzilla.suse.com/753313
bugzilla.suse.com/757031
bugzilla.suse.com/770153
bugzilla.suse.com/772586
bugzilla.suse.com/786813
bugzilla.suse.com/818182
bugzilla.suse.com/824340
bugzilla.suse.com/834196
suse.com/security/cve/CVE-2013-2007