CVE details
CVE-2020-12829
In QEMU through 5.0.0, an integer overflow was found in the SM501 display driver implementation. This flaw occurs in the COPY_AREA macro while handling MMIO write operations through the sm501_2d_engine_write() callback. A local attacker could abuse this flaw to crash the QEMU process in sm501_2d_operation() in hw/display/sm501.c on the host, resulting in a denial of service.
Affected ports (2)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| emulators/qemu-cheri | qemu-cheri | 0.d20260108 | unaddressed | brooks@FreeBSD.org |
| emulators/qemu-user-static | qemu-user-static | 3.1.0_16 | unaddressed | emulation@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>qemu-cheri</name>
<range><lt>FIXME</lt></range>
</package>
<package>
<name>qemu-user-static</name>
<range><lt>FIXME</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>In QEMU through 5.0.0, an integer overflow was found in the SM501
display driver implementation. This flaw occurs in the COPY_AREA macro
while handling MMIO write operations through the
sm501_2d_engine_write() callback. A local attacker could abuse this
flaw to crash the QEMU process in sm501_2d_operation() in
hw/display/sm501.c on the host, resulting in a denial of service.</p>
</body>
</description>
<references>
<cvename>CVE-2020-12829</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2020-12829</url>
</references>
<dates>
<discovery>2020-08-31</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>