{"id":"DEBIAN-CVE-2012-2652","details":"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.","modified":"2026-09-10T06:47:45.498201609Z","published":"2012-08-07T20:55:03.360Z","upstream":["CVE-2012-2652"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2012-2652"}],"affected":[{"package":{"name":"qemu","ecosystem":"Debian:12","purl":"pkg:deb/debian/qemu?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+dfsg-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2652.json"}},{"package":{"name":"qemu","ecosystem":"Debian:13","purl":"pkg:deb/debian/qemu?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+dfsg-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2652.json"}},{"package":{"name":"qemu","ecosystem":"Debian:14","purl":"pkg:deb/debian/qemu?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+dfsg-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2652.json"}}],"schema_version":"1.9.0"}