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.
{
"unresolved_ranges": [
{
"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: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": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING",
"vendor_product": "debian:debian_linux",
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.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"
],
"cpe": [
"cpe:2.3:a:qemu:qemu:4.0.0:*:*:*:*:*:*:*",
"cpe:2.3:a:qemu:qemu:4.1.0:*:*:*:*:*:*:*"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13765.json"
[
{
"target": {
"function": "rom_copy",
"file": "hw/core/loader.c"
},
"deprecated": false,
"source": "https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676",
"id": "CVE-2020-13765-52aec4f2",
"signature_version": "v1",
"digest": {
"length": 806.0,
"function_hash": "315737413509995494059465210785208843611"
},
"signature_type": "Function"
},
{
"target": {
"file": "hw/core/loader.c"
},
"deprecated": false,
"source": "https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676",
"id": "CVE-2020-13765-65bc6aee",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"267339549307449947660949751854151850983",
"110132884278840075412521224850424890255",
"334845614295670398872123961122288365889",
"21360557838413486433886623456299285571"
]
},
"signature_type": "Line"
}
]
"2026-07-08T20:30:25Z"
{
"extracted_events": [
{
"introduced": "4.0.0"
},
{
"last_affected": "4.0.0"
},
{
"introduced": "4.1.0"
},
{
"last_affected": "4.1.0"
}
],
"source": "CPE_STRING",
"cpe": [
"cpe:2.3:a:qemu:qemu:4.0.0:*:*:*:*:*:*:*",
"cpe:2.3:a:qemu:qemu:4.1.0:*:*:*:*:*:*:*"
]
}