---
title: "CVE-2020-12829"
canonical_url: "https://pkgseek.com/security/CVE-2020-12829"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "low"
---

# 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.

CVE-2020-12829 is rated LOW (3.8), with 15 indexed affected package builds across 1 distributions.

- **Severity / Score**: LOW (3.8)
- **Affected builds**: 15
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | qemu | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-block-extra | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-kvm | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-arm | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-common | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-data | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-gui | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-mips | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-misc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-ppc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-s390x | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-sparc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-system-x86 | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
| Ubuntu | focal | qemu-utils | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.4 |
