CVE-2015-5745

NameCVE-2015-5745
DescriptionBuffer overflow in the send_control_msg function in hw/char/virtio-serial-bus.c in QEMU before 2.4.0 allows guest users to cause a denial of service (QEMU process crash) via a crafted virtio control message.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3348-1, DSA-3349-1
Debian Bugs795087

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
qemu (PTS)jessie, jessie (lts)1:2.1+dfsg-12+deb8u23fixed
stretch (security)1:2.8+dfsg-6+deb9u17fixed
stretch (lts), stretch1:2.8+dfsg-6+deb9u19fixed
buster (security), buster, buster (lts)1:3.1+dfsg-8+deb10u12fixed
bullseye1:5.2+dfsg-11+deb11u3fixed
bullseye (security)1:5.2+dfsg-11+deb11u2fixed
bookworm1:7.2+dfsg-7+deb12u7fixed
sid, trixie1:9.2.0+ds-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
qemusourcesqueeze(not affected)
qemusourcewheezy1.1.2+dfsg-6a+deb7u9
qemusourcejessie1:2.1+dfsg-12+deb8u2DSA-3348-1
qemusource(unstable)1:2.4+dfsg-1a795087
qemu-kvmsourcesqueeze(not affected)
qemu-kvmsourcewheezy1.1.2+dfsg-6+deb7u9DSA-3349-1
qemu-kvmsource(unstable)(unfixed)

Notes

[squeeze] - qemu <not-affected> (Vulnerable code introduced later)
[squeeze] - qemu-kvm <not-affected> (Vulnerable code introduced later)
https://www.openwall.com/lists/oss-security/2015/08/06/3
Fixed by: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7882080388be5088e72c425b02223c02e6cb4295 (v2.4.0-rc3)
Introduced in: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=98b19252cf1bd97c54bc4613f3537c5ec0aae263 (v0.13.0-rc0)
Patch for wheezy needs change since uses iov_from_buf:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=dcf6f5e15ecee4f593eeacbe0591c1addc004d92
iov_* function changed in http://git.qemu.org/?p=qemu.git;a=commitdiff;h=2278a69e7020d86a8c73a28474e7709d3e7d5081 (v1.2.0-rc0)

Search for package or bug name: Reporting problems