CVE Database›Document archive›CVE-2018-20815

CVE-2018-20815

QEMU: device_tree: heap buffer overflow while loading device tree blob

Loading…

Severity

Important

Red Hat Product Security

7

CVSS 3.0

Review impact separately from score.

Published · December 14, 2018

Updated · June 28, 2026

Description

A heap buffer overflow issue was found in the load_device_tree() function of QEMU, which is invoked to load a 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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 7
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H

CWE-122 · Heap-based Buffer Overflow