CWE
119
Advisory Published
CVE Published
Updated

CVE-2018-20815: Buffer Overflow

First published: Wed Mar 27 2019(Updated: )

A heap buffer overflow issue was found in the load_device_tree() 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: --------------- -&gt; <a href="https://git.qemu.org/?p=qemu.git;a=commitdiff;h=da885fe1ee8b4589047484bd7fa05a4905b52b17">https://git.qemu.org/?p=qemu.git;a=commitdiff;h=da885fe1ee8b4589047484bd7fa05a4905b52b17</a> -&gt; <a href="https://git.qemu.org/?p=qemu.git;a=commitdiff;h=065e6298a75164b4347682b63381dbe752c2b156">https://git.qemu.org/?p=qemu.git;a=commitdiff;h=065e6298a75164b4347682b63381dbe752c2b156</a> Reference: ---------- -&gt; <a href="https://www.openwall.com/lists/oss-security/2019/03/27/1">https://www.openwall.com/lists/oss-security/2019/03/27/1</a>

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
QEMU KVM=3.1.0
debian/qemu
1:5.2+dfsg-11+deb11u3
1:5.2+dfsg-11+deb11u2
1:7.2+dfsg-7+deb12u12
1:9.2.0+ds-5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the vulnerability ID for this issue?

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

  • What is the severity of CVE-2018-20815?

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

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203