CVE-2020-13765

Source
https://cve.org/CVERecord?id=CVE-2020-13765
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13765.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-13765
Downstream
BELL (1)
DEBIAN (1)
RHSA (1)
SUSE (8)
UBUNTU (1)
Related
Published
2020-06-04T16:15:12Z
Modified
2026-07-08T20:30:25Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
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.

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"
        }
    ]
}
References

Affected packages

Git / github.com/qemu/qemu

Affected ranges

Type
GIT
Repo
https://github.com/qemu/qemu
Events
Database specific
Show details
{
    "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"
    ]
}

Affected versions

4.*
4.0.0
4.1.0
v4.*
v4.0.0
v4.1.0
v4.1.0-rc0
v4.1.0-rc1
v4.1.0-rc2
v4.1.0-rc3
v4.1.0-rc4
v4.1.0-rc5

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"

Git / gitlab.com/qemu-project/qemu

Affected ranges

Type
GIT
Repo
https://gitlab.com/qemu-project/qemu
Events
Database specific
Show details
{
    "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"
}

Affected versions

4.*
4.0.0
4.1.0
v4.*
v4.0.0
v4.1.0
v4.1.0-rc0
v4.1.0-rc1
v4.1.0-rc2
v4.1.0-rc3
v4.1.0-rc4
v4.1.0-rc5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13765.json"