CVE-2015-4037
qemu: insecure temporary file use in /net/slirp.c
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · May 13, 2015
Updated · November 21, 2025
Description
The slirp_smb function in net/slirp.c in QEMU 2.3.0 and earlier creates temporary files with predictable names, which allows local users to cause a denial of service (instantiation failure) by creating /tmp/qemu-smb.- files before the program.
Statement
This issue affects the versions of the kvm and xen packages as shipped with Red Hat Enterprise Linux 5, the versions of the qemu-kvm packages as shipped with Red Hat Enterprise Linux 6 and 7, and the versions of qemu-kvm-rhev packages as shipped with Red Hat Enterprise Virtualization 3.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 4.9AV:L/AC:L/Au:N/C:N/I:N/A:C
CWE-377 · Insecure Temporary File