CVE-2020-12829 json
In QEMU through 5.0.0, an integer overflow was found in the SM501 display driver implementation.
published 2020-08-31 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-5111
- cvss
- 3.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- qemu Debian 14, Debian 13, Debian 12 1:5.0-12
debian advisories DEBIAN-CVE-2020-12829
- qemu Ubuntu 16.04 LTS 1:2.5+dfsg-5ubuntu10.45
- qemu Ubuntu 18.04 LTS 1:2.11+dfsg-1ubuntu7.31
- qemu Ubuntu 20.04 LTS 1:4.2-3ubuntu6.4
- qemu Ubuntu Pro 14.04 LTS 2.0.0+dfsg-2ubuntu1.47+esm6
ubuntu advisories UBUNTU-CVE-2020-12829
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kvm SLE Point of Sale 11 SP3 1.4.2-53.38.1
- qemu SLES 12 SP2-BCL 2.6.2-41.62.1
- qemu SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +6 more 3.1.1.1-9.24.3
- qemu SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 2.11.2-9.43.1
- qemu SLE Module for Server Applications 15 SP2, SLE Module for Basesystem 15 SP2, SLE Micro 5.0 4.2.1-11.16.3
- qemu SLES for SAP 12 SP5, SLES 12 SP5 3.1.1.1-48.2
- qemu SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 2.11.2-5.29.1
- qemu SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +3 more 2.9.1-6.47.1
suse advisories SUSE-SU-2021:14706-1SUSE-SU-2021:1305-1SUSE-SU-2021:14704-1SUSE-SU-2021:1245-1SUSE-SU-2021:1244-1SUSE-SU-2021:1243-1
- qemu openSUSE Leap 15.2 4.2.1-lp152.9.12.1
- qemu-testsuite openSUSE Leap 15.2 4.2.1-lp152.9.12.1
- qemu-linux-user openSUSE Leap 15.2 4.2.1-lp152.9.12.1
opensuse advisories openSUSE-SU-2021:0600-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12829 updated cvss 3.8
qemu: OOB read and write due to integer overflow in sm501_2d_operation() in hw/display/sm501.c
-
Red Hat Enterprise Linux 5 kvm, xen Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-img-ma, qemu-kvm-ma, qemu-kvm-rhev, +6 more Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhevnot affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1808510
issue-tracking, patch, third-party-advisory
-
usn.ubuntu.com
/4467-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2020/dsa-4760
vendor-advisory, third-party-advisory
Sources
- CVE List CVE-2020-12829
- NVD CVE-2020-12829
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.