Skip to content
Fencer Intel
medium 5.6

CVE-2020-13765 json

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 tr…

published 6y ago modified 4mo ago also EUVD-2020-5982

cvss
5.6
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

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.

Patch / fix

  • qemu Debian 14, Debian 13, Debian 12 1:4.2-1

debian advisories DEBIAN-CVE-2020-13765

  • qemu Ubuntu 16.04 LTS 1:2.5+dfsg-5ubuntu10.45
  • qemu Ubuntu 18.04 LTS 1:2.11+dfsg-1ubuntu7.31
  • qemu Ubuntu Pro 14.04 LTS 2.0.0+dfsg-2ubuntu1.47+esm4

ubuntu advisories UBUNTU-CVE-2020-13765

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • qemu-kvm RHEL 7 10:1.5.3-175.el7_9.3
  • qemu-img RHEL 7 10:1.5.3-175.el7_9.3
  • qemu-kvm-tools RHEL 7 10:1.5.3-175.el7_9.3
  • qemu-kvm-common RHEL 7 10:1.5.3-175.el7_9.3

red hat advisories RHSA-2021:0347

  • kvm SLE Point of Sale 11 SP3 1.4.2-53.38.1
  • qemu SLES 12 SP2-BCL 2.6.2-41.62.1
  • qemu SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +6 more 3.1.1.1-9.24.3
  • qemu SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 2.11.2-9.43.1
  • qemu SLES for SAP 12 SP5, SLES 12 SP5 3.1.1.1-48.2
  • qemu SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 2.11.2-5.29.1
  • qemu SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +3 more 2.9.1-6.47.1
  • kvm SLES 11 SP4-LTSS 1.4.2-60.34.1

suse advisories SUSE-SU-2021:14706-1SUSE-SU-2021:1305-1SUSE-SU-2021:14704-1SUSE-SU-2021:1245-1SUSE-SU-2021:1244-1SUSE-SU-2021:1242-1

  • qemu Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 4.2.0-r0

alpine advisories ALPINE-CVE-2020-13765

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2020-13765 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-13765 updated cvss 5.6

QEMU: loader: OOB access while loading registered ROM may lead to code execution

  • Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-kvm-rhev
    affected: no fix planned “Will not fix”
  • Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) qemu-img 1.5.3-175.el7_9.3, qemu-kvm 1.5.3-175.el7_9.3, qemu-kvm-tools 1.5.3-175.el7_9.3, qemu-kvm-common 1.5.3-175.el7_9.3 Red Hat Enterprise Linux ComputeNode Optional (v. 7) qemu-img 1.5.3-175.el7_9.3, qemu-kvm 1.5.3-175.el7_9.3, qemu-kvm-tools 1.5.3-175.el7_9.3, qemu-kvm-common 1.5.3-175.el7_9.3 Red Hat Enterprise Linux Server (v. 7) qemu-img 1.5.3-175.el7_9.3, qemu-kvm 1.5.3-175.el7_9.3, qemu-kvm-tools 1.5.3-175.el7_9.3, qemu-kvm-common 1.5.3-175.el7_9.3 Red Hat Enterprise Linux Workstation (v. 7) qemu-img 1.5.3-175.el7_9.3, qemu-kvm 1.5.3-175.el7_9.3, qemu-kvm-tools 1.5.3-175.el7_9.3, qemu-kvm-common 1.5.3-175.el7_9.3
    fixed: vendor fix RHSA-2021:0347
  • Red Hat Enterprise Linux 5 kvm Red Hat Enterprise Linux 7 qemu-img-ma, qemu-kvm-ma, qemu-kvm-tools-ma, qemu-kvm-common-ma Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.46% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 5.6 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.