CVE-2020-12829: Integer Overflow

Published Feb 28, 2020
·
Updated

An out-of-bounds read/write vulnerability was found in function Sm5012doperation() in hw/display/sm501.c. The OOB flaw is caused by an integer overflow in COPYAREA when the rtl parameter is set to 1, and either srcy or srcx is less than operationheight. Please refer to the following duplicate bug for further details: https://bugzilla.redhat.com/showbug.cgi?id=1786026.

Upstream fix: https://git.qemu.org/?p=qemu.git;a=commit;h=b15a22bbcbe6a78dc3d88fe3134985e4cdd87de4

Other sources

In QEMU through 5.0.0, an integer overflow was found in the SM501 display driver implementation. This flaw occurs in the COPYAREA macro while handling MMIO write operations through the sm5012denginewrite() callback. A local attacker could abuse this flaw to crash the QEMU process in sm5012doperation() in hw/display/sm501.c on the host, resulting in a denial of service.

Launchpad

Affected Software

6 affected componentsFixes available
Qemu Qemu<=5.0.1
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Debian Debian Linux=10.0
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u41:7.2+dfsg-7+deb12u121:10.0.0~rc3+ds-21:10.0.0+ds-1

Event History

Feb 28, 2020
Data Sourced
via Red Hat·05:11 PM
DescriptionSeverityAffected Software
May 24, 2020
Data Sourced
05:33 PM
SeverityAffected Software
Aug 31, 2020
CVE Published
via MITRE·02:41 PM
Data Sourced
via MITRE·02:41 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·11:38 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:22 AM
RemedyDescriptionSeverityAffected Software
May 2, 2025
Data Sourced
via Debian·01:13 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2020-12829?

CVE-2020-12829 is a vulnerability in the SM501 display driver implementation in QEMU.

2

What is the severity of CVE-2020-12829?

The severity of CVE-2020-12829 is low with a CVSS score of 3.8.

3

Which software versions are affected by CVE-2020-12829?

QEMU versions up to 5.0.0 are affected by CVE-2020-12829.

4

How can a local attacker abuse CVE-2020-12829?

A local attacker can abuse CVE-2020-12829 to crash the QEMU process.

5

Where can I find more information about CVE-2020-12829?

More information about CVE-2020-12829 can be found at the following references: [Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1808510), [Ubuntu USN](https://usn.ubuntu.com/4467-1/), [Debian DSA](https://www.debian.org/security/2020/dsa-4760).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203