VENOM: QEMU floppy controller FIFO index escapes its buffer
One byte-at-a-time write into a fixed 512-byte device FIFO advances its index with no bound, so a guest that keeps feeding the I/O port writes attacker-controlled bytes past the buffer into host process memory.
- Product
- QEMU Floppy Disk Controller emulation (as used in Xen, KVM, VirtualBox)
- Vendor
- QEMU
- Affected
- QEMU FDC emulation since 2004; Xen 4.5.x and earlier, and KVM/QEMU builds bundling the unpatched hw/block/fdc.c
- Fixed in
- Patched 2015-05-13 in QEMU commit e907746266721f305d67bc0718795fedee2e824c; backported by distributions (Xen XSA-133, Red Hat, Debian, etc.)
- Weakness
- CWE-787
- CVSS vector
- AV:A/AC:L/Au:S/C:C/I:C/A:C
- Published
- 13 May 2015
Classified as
References
Related CVEs
- CVE-2024-2961high 8.82024
glibc iconv ISO-2022-CN-EXT out-of-bounds write
Converting to a multibyte charset, one escape-sequence path skips its output-bounds check, writing up to 3 fixed bytes past the buffer.
- CVE-2023-5217high 8.82023
libvpx VP8 encoder heap overflow on thread/height reconfigure
A per-row worker array sized from the current frame height is only reallocated when threads exceed one, so a reconfigure that drops to a single thread while growing the frame leaves it undersized and the encoder writes past it.
- CVE-2023-4863high 8.82023
libwebp lossless Huffman table heap overflow (BLASTPASS)
A variable-length code table is written into a buffer sized only for its first level, so crafted long codes make the builder append second-level tables past the allocation: an out-of-bounds heap write reached by decoding one image.
- CVE-2022-3602high 7.52022
SpookySSL: OpenSSL X.509 punycode four-byte overflow
The punycode decoder allowed insertion when its output buffer was already full, so a crafted X.509 SmtpUTF8Mailbox domain processed during name-constraint checks could shift one attacker-controlled unsigned integer past the stack buffer.