Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | qemu | 1.1.0+dfsg-1 | — |
| Debian 13 | qemu | 1.1.0+dfsg-1 | — |
| Debian 12 | qemu | 1.1.0+dfsg-1 | — |
| Debian 6.0 | qemu | 0.12.5+dfsg-3squeeze2 | DSA-2545-1 |
| Debian 6.0 | qemu-kvm | 0.12.5+dfsg-5+squeeze9 | DSA-2542-1 |
Advisories 2
- DSA-2542-1 qemu-kvm - multiple Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2545-1 qemu - multiple Debian Security (DSA / DLA) · Mar 9, 2026
References
- 50132 third-party-advisory
- http://git.qemu.org/?p=qemu-stable-0.15.git%3Ba=log
- 50689 third-party-advisory
- 53725 vdb-entry
- SUSE-SU-2012:1202 vendor-advisory
- USN-1522-1 vendor-advisory
- http://git.kernel.org/?p=virt/kvm/qemu-kvm.git%3Ba=commit%3Bh=eba25057b9a5e19d10ace2bc7716667a31297169
- DSA-2545 vendor-advisory