# CVE-2020-13765: romcopy() 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 tri…

- Severity: Medium 5.6 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.46%, higher than 84% of CVEs (2026-12-01)
- Published: 2020-06-04T15:26:17.000Z
- Modified: 2026-06-17T02:53:37.150Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- qemu qemu: 4.0.0; 4.1.0
- canonical ubuntu_linux: 16.04; 18.04; 20.04
- debian debian_linux: 8.0; 9.0

## Every score

- NVD: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=e423455c4f23a1a828901c78fe6d03b7dde79319>
- <https://www.openwall.com/lists/oss-security/2020/06/03/6> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20200619-0006/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/06/msg00032.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00020.html> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4467-1/> (third-party-advisory, vendor-advisory)
- <https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-13765](https://www.cve.org/CVERecord?id=CVE-2020-13765), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-13765](https://nvd.nist.gov/vuln/detail/CVE-2020-13765), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-13765 · Whole record: https://cve.day/CVE-2020-13765.json · Rebuilt by cve.day 2026-11-25T22:57:52.725Z
