CVE-2020-12829Integer Overflow or Wraparound in Qemu

Severity
3.8LOWNVD
EPSS
0.1%
top 69.38%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 31
Latest updateMay 24

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:LExploitability: 2.0 | Impact: 1.4

Affected Packages2 packages

Debianqemu/qemu< 1:5.0-12+3
NVDqemu/qemu5.0.1

Also affects: Debian Linux 10.0, Ubuntu Linux 16.04, 18.04, 20.04

Patches

🔴Vulnerability Details

3
GHSA
GHSA-39p4-wghg-36vf: In QEMU through 52022-05-24
OSV
CVE-2020-12829: In QEMU through 52020-08-31
CVEList
CVE-2020-12829: In QEMU through 52020-08-31

📋Vendor Advisories

4
Ubuntu
QEMU vulnerabilities2020-08-19
Microsoft
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_engine2020-08-11
Debian
CVE-2020-12829: qemu - In QEMU through 5.0.0, an integer overflow was found in the SM501 display driver...2020
Red Hat
qemu: OOB read and write due to integer overflow in sm501_2d_operation() in hw/display/sm501.c2019-12-23

💬Community

4
Bugzilla
CVE-2020-12829 xen: qemu: OOB read and write due to integer overflow in sm501_2d_operation() in hw/display/sm501.c [fedora-all]2020-04-01
Bugzilla
CVE-2020-12829 qemu: OOB read and write due to integer overflow in sm501_2d_operation() in hw/display/sm501.c [epel-7]2020-04-01
Bugzilla
CVE-2020-12829 qemu: OOB read and write due to integer overflow in sm501_2d_operation() in hw/display/sm501.c [fedora-all]2020-04-01
Bugzilla
CVE-2020-12829 qemu: OOB read and write due to integer overflow in sm501_2d_operation() in hw/display/sm501.c2020-02-28
CVE-2020-12829 — Integer Overflow or Wraparound in Qemu | cvebase