{"schema_version":"1.7.5","id":"CVE-2020-13765","published":"2020-06-04T16:15:12.733Z","modified":"2026-07-08T20:30:25.481876Z","related":["SUSE-SU-2021:1240-1","SUSE-SU-2021:1241-1","SUSE-SU-2021:1242-1","SUSE-SU-2021:1244-1","SUSE-SU-2021:1245-1","SUSE-SU-2021:1305-1","SUSE-SU-2021:14704-1","SUSE-SU-2021:14706-1"],"details":"rom_copy() in hw/core/loader.c in QEMU 4.0 and 4.1.0 does not validate the relationship between two addresses, which allows attackers to trigger an invalid memory copy operation.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/qemu/qemu","events":[{"introduced":"131b9a05705636086699df15d4a6d328bb2585e8"},{"last_affected":"9e06029aea3b2eca1d5261352e695edc1e7d7b8b"},{"fixed":"4f1c6cb2f9afafda05eab150fd2bd284edce6676"}],"database_specific":{"cpe":["cpe:2.3:a:qemu:qemu:4.0.0:*:*:*:*:*:*:*","cpe:2.3:a:qemu:qemu:4.1.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"4.0.0"},{"last_affected":"4.0.0"},{"introduced":"4.1.0"},{"last_affected":"4.1.0"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["4.0.0","4.1.0","v4.1.0","v4.0.0","v4.1.0-rc5","v4.1.0-rc4","v4.1.0-rc3","v4.1.0-rc2","v4.1.0-rc1","v4.1.0-rc0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13765.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"315737413509995494059465210785208843611","length":806},"id":"CVE-2020-13765-52aec4f2","signature_type":"Function","signature_version":"v1","source":"https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676","target":{"file":"hw/core/loader.c","function":"rom_copy"}},{"deprecated":false,"digest":{"line_hashes":["267339549307449947660949751854151850983","110132884278840075412521224850424890255","334845614295670398872123961122288365889","21360557838413486433886623456299285571"],"threshold":0.9},"id":"CVE-2020-13765-65bc6aee","signature_type":"Line","signature_version":"v1","source":"https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676","target":{"file":"hw/core/loader.c"}}],"vanir_signatures_modified":"2026-07-08T20:30:25Z"}},{"ranges":[{"type":"GIT","repo":"https://gitlab.com/qemu-project/qemu","events":[{"introduced":"131b9a05705636086699df15d4a6d328bb2585e8"},{"last_affected":"9e06029aea3b2eca1d5261352e695edc1e7d7b8b"}],"database_specific":{"cpe":["cpe:2.3:a:qemu:qemu:4.0.0:*:*:*:*:*:*:*","cpe:2.3:a:qemu:qemu:4.1.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"4.0.0"},{"last_affected":"4.0.0"},{"introduced":"4.1.0"},{"last_affected":"4.1.0"}],"source":"CPE_STRING"}}],"versions":["4.0.0","4.1.0","v4.1.0","v4.0.0","v4.1.0-rc5","v4.1.0-rc4","v4.1.0-rc3","v4.1.0-rc2","v4.1.0-rc1","v4.1.0-rc0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13765.json"}}],"references":[{"type":"WEB","url":"https://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=e423455c4f23a1a828901c78fe6d03b7dde79319"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00032.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00020.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20200619-0006/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4467-1/"},{"type":"ADVISORY","url":"https://www.openwall.com/lists/oss-security/2020/06/03/6"},{"type":"FIX","url":"https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"],"extracted_events":[{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"},{"introduced":"20.04"},{"last_affected":"20.04"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux"},{"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}