CVE-2020-7039

Source
https://cve.org/CVERecord?id=CVE-2020-7039
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7039.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-7039
Downstream
Related
Published
2020-01-16T23:15:12.190Z
Modified
2026-07-08T20:29:29.273790Z
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

tcpemu in tcpsubr.c in libslirp 4.1.0, as used in QEMU 4.2.0, mismanages memory, as demonstrated by IRC DCC commands in EMU_IRC. This can cause a heap-based buffer overflow or other out-of-bounds access which can lead to a DoS or potential execute arbitrary code.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
                {
                    "introduced": "15.1"
                },
                {
                    "last_affected": "15.1"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git
github.com/qemu/qemu

Affected ranges

Type
GIT
Repo
https://github.com/qemu/qemu
Events
Database specific
{
    "cpe": "cpe:2.3:a:qemu:qemu:4.2.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.2.0"
        },
        {
            "last_affected": "4.2.0"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

4.*
4.2.0
v4.*
v4.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7039.json"
github.com/spring-projects/spring-framework

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-framework
Events
Database specific
{
    "cpe": "cpe:2.3:a:libslirp_project:libslirp:4.1.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.1.0"
        },
        {
            "last_affected": "4.1.0"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

4.*
4.1.0
v4.*
v4.1.0.RELEASE

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7039.json"
gitlab.com/qemu-project/qemu

Affected ranges

Type
GIT
Repo
https://gitlab.com/qemu-project/qemu
Events
Database specific
{
    "cpe": "cpe:2.3:a:qemu:qemu:4.2.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.2.0"
        },
        {
            "last_affected": "4.2.0"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

4.*
4.2.0
v4.*
v4.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7039.json"
gitlab.freedesktop.org/slirp/libslirp

Affected ranges

Type
GIT
Repo
https://gitlab.freedesktop.org/slirp/libslirp
Events
Database specific
{
    "cpe": "cpe:2.3:a:libslirp_project:libslirp:4.1.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.1.0"
        },
        {
            "last_affected": "4.1.0"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

4.*
4.1.0
v4.*
v4.1.0

Database specific

vanir_signatures
[
    {
        "digest": {
            "function_hash": "16394558136358550035582286927942919055",
            "length": 6641.0
        },
        "target": {
            "function": "tcp_emu",
            "file": "src/tcp_subr.c"
        },
        "id": "CVE-2020-7039-6b9a8895",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://gitlab.freedesktop.org/slirp/libslirp@82ebe9c370a0e2970fb5695aa19aa5214a6a1c80",
        "deprecated": false
    },
    {
        "digest": {
            "function_hash": "140651076775259481436786107058209110775",
            "length": 6508.0
        },
        "target": {
            "function": "tcp_emu",
            "file": "src/tcp_subr.c"
        },
        "id": "CVE-2020-7039-ab5b2a67",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://gitlab.freedesktop.org/slirp/libslirp@2655fffed7a9e765bcb4701dd876e9dab975f289",
        "deprecated": false
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "15140320714121997435057219044735030567",
                "156375986140405105978356906120087512541",
                "316338764136262695171768734962189969112",
                "244401903337416974613622709277191320620",
                "241036784587630143944011798907199304443",
                "142282155878608727980020123582809939206",
                "32139479471153033922636960518668746078"
            ]
        },
        "target": {
            "file": "src/tcp_subr.c"
        },
        "id": "CVE-2020-7039-b7d4660f",
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://gitlab.freedesktop.org/slirp/libslirp@2655fffed7a9e765bcb4701dd876e9dab975f289",
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7039.json"
vanir_signatures_modified
"2026-07-08T20:29:29Z"