CVE-2018-20815: Buffer Overflow

Published Mar 27, 2019
·
Updated

A heap buffer overflow issue was found in the loaddevicetree() function of QEMU, which is invoked to load device tree blob at boot time. It occurs due to device tree size manipulation before buffer allocation, which could overflow a signed int type.

A user/process could use this flaw to potentially execute arbitrary code on a host system with privileges of the QEMU process.

Upstream patch: --------------- -> https://git.qemu.org/?p=qemu.git;a=commitdiff;h=da885fe1ee8b4589047484bd7fa05a4905b52b17 -> https://git.qemu.org/?p=qemu.git;a=commitdiff;h=065e6298a75164b4347682b63381dbe752c2b156

Reference: ---------- -> https://www.openwall.com/lists/oss-security/2019/03/27/1

Other sources

In QEMU 3.1.0, loaddevicetree in devicetree.c calls the deprecated loadimage function, which has a buffer overflow risk.

Launchpad

Affected Software

2 affected componentsFixes available
Qemu Qemu=3.1.0
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u51:7.2+dfsg-7+deb12u181:7.2+dfsg-7+deb12u151:10.0.7+ds-0+deb13u11:10.0.2+ds-2+deb13u11:10.2.1+ds-1

Event History

Mar 27, 2019
Data Sourced
via Red Hat·08:00 AM
DescriptionSeverityAffected Software
May 31, 2019
CVE Published
via MITRE·09:40 PM
Data Sourced
via MITRE·09:40 PM
Description
Feb 23, 2026
Data Sourced
via Ubuntu·04:18 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·04:18 PM
Description
Data Sourced
via Debian·04:18 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2018-20815.

2

What is the severity of CVE-2018-20815?

CVE-2018-20815 has a severity rating of high.

3

Which software versions are affected by CVE-2018-20815?

Various versions of QEMU are affected, including 1:2.11+dfsg-1ubuntu7.13, 1:2.12+dfsg-3ubuntu8.7, 1:3.1+dfsg-2ubuntu4, and more.

4

How can I fix CVE-2018-20815?

To fix CVE-2018-20815, update to a version of QEMU that includes the necessary security patches, such as 1:2.11+dfsg-1ubuntu7.13 or 1:2.12+dfsg-3ubuntu8.7.

5

Where can I find more information about CVE-2018-20815?

More information about CVE-2018-20815 can be found in the references provided, including the commitdiff links and the OSS Security mailing list.

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