tcp_emu in tcp_subr.c in libslirp 4.1.0, as used in QEMU 4.2.0, mismanages memory, as…
Priority LOW 31CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 23 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
tcp_emu in tcp_subr.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.
Why it matters now
EPSS 0.03566 89th percentileScored 2026-11-07
Fix Partial Red Hat: 15 advisoriesRed Hat: 23 fixed, 3 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libslirp_project:libslirp:4.1.0:*:*:*:*:*:*:* | 4.1.0 | Vulnerable | Libslirp Project |
| cpe:2.3:a:qemu:qemu:4.2.0:*:*:*:*:*:*:* | 4.2.0 | Vulnerable | QEMU |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
- cpe:2.3:a:libslirp_project:libslirp:4.1.0:*:*:*:*:*:*:* Versions 4.1.0 Vulnerable ·Libslirp Project
- cpe:2.3:a:qemu:qemu:4.2.0:*:*:*:*:*:*:* Versions 4.2.0 Vulnerable ·QEMU
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
Remediation
Red Hat 15 advisories
- RHSA-2020:2730 Released 2020-06-24 · Red Hat rating Importantqemu-kvm-rhev security update
- Red Hat OpenStack Platform 13.0 qemu-img-rhev-10:2.12.0-44.el7_8.1, qemu-kvm-common-rhev-10:2.12.0-44.el7_8.1, qemu-kvm-rhev-10:2.12.0-44.el7_8.1 +1
- Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server qemu-img-rhev-10:2.12.0-18.el7_6.11, qemu-kvm-common-rhev-10:2.12.0-18.el7_6.11, qemu-kvm-rhev-10:2.12.0-18.el7_6.11 +1
- RHSA-2020:2342 Released 2020-06-01 · Red Hat rating Importantqemu-kvm-rhev bug fix update
- RHV-M 4.2 qemu-img-rhev-10:2.12.0-18.el7_6.11, qemu-kvm-common-rhev-10:2.12.0-18.el7_6.11, qemu-kvm-rhev-10:2.12.0-18.el7_6.11 +1
- RHSA-2020:1358 Released 2020-04-07 · Red Hat rating Importantvirt:rhel security and bug fix update
- Red Hat CodeReady Linux Builder (v. 8) SLOF-20171214-6.gitfa98132.module+el8.1.0+4066+0f1aadab.src::virt-devel:rhel, hivex-1.3.15-7.module+el8.1.0+4066+0f1aadab.i686::virt-devel:rhel, hivex-devel-1.3.15-7.module+el8.1.0+4066+0f1aadab.i686::virt-devel:rhel +47
- Red Hat Enterprise Linux AppStream (v. 8) SLOF-20171214-6.gitfa98132.module+el8.1.0+4066+0f1aadab.noarch::virt:rhel, SLOF-20171214-6.gitfa98132.module+el8.1.0+4066+0f1aadab.src::virt:rhel, hivex-1.3.15-7.module+el8.1.0+4066+0f1aadab.aarch64::virt:rhel +47
Show 12 more Red Hat advisories
- RHSA-2020:1360 Released 2020-04-07 · Red Hat rating Importantcontainer-tools:1.0 security update
- Red Hat Enterprise Linux AppStream (v. 8) buildah-1.5-6.gite94b4f9.module+el8.1.0+4908+72a45cef.aarch64::container-tools:1.0, buildah-1.5-6.gite94b4f9.module+el8.1.0+4908+72a45cef.ppc64le::container-tools:1.0, buildah-1.5-6.gite94b4f9.module+el8.1.0+4908+72a45cef.s390x::container-tools:1.0 +47
- RHSA-2020:1352 Released 2020-04-07 · Red Hat rating Importantqemu-kvm-ma security update
- Red Hat Enterprise Linux Server EUS (v. 7.7) qemu-img-ma-10:2.12.0-33.el7_7.3, qemu-kvm-common-ma-10:2.12.0-33.el7_7.3, qemu-kvm-ma-10:2.12.0-33.el7_7.3 +1
- Red Hat Enterprise Linux Server Optional EUS (v. 7.7) qemu-kvm-common-ma-10:2.12.0-33.el7_7.3, qemu-kvm-ma-10:2.12.0-33.el7_7.3, qemu-kvm-tools-ma-10:2.12.0-33.el7_7.3
- RHSA-2020:1351 Released 2020-04-07 · Red Hat rating Importantqemu-kvm security update
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.7) qemu-img-10:1.5.3-167.el7_7.6, qemu-kvm-10:1.5.3-167.el7_7.6, qemu-kvm-common-10:1.5.3-167.el7_7.6 +1
- Red Hat Enterprise Linux Server EUS (v. 7.7) qemu-img-10:1.5.3-167.el7_7.6, qemu-kvm-10:1.5.3-167.el7_7.6, qemu-kvm-common-10:1.5.3-167.el7_7.6 +1
- RHSA-2020:1344 Released 2020-04-07 · Red Hat rating Importantvirt:rhel security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.0) SLOF-20171214-6.gitfa98132.module+el8.0.0+4084+cceb9f44.noarch::virt:rhel, SLOF-20171214-6.gitfa98132.module+el8.0.0+4084+cceb9f44.src::virt:rhel, hivex-1.3.15-7.module+el8.0.0+4084+cceb9f44.ppc64le::virt:rhel +47
- RHSA-2020:1300 Released 2020-04-02 · Red Hat rating Importantqemu-kvm-rhev security update
- Red Hat OpenStack Platform 10.0 qemu-img-rhev-10:2.12.0-33.el7_7.10, qemu-kvm-common-rhev-10:2.12.0-33.el7_7.10, qemu-kvm-rhev-10:2.12.0-33.el7_7.10 +1
- RHSA-2020:1296 Released 2020-04-02 · Red Hat rating Importantqemu-kvm-rhev security update
- Red Hat OpenStack Platform 13.0 qemu-img-rhev-10:2.12.0-44.el7, qemu-kvm-common-rhev-10:2.12.0-44.el7, qemu-kvm-rhev-10:2.12.0-44.el7 +1
- RHSA-2020:1261 Released 2020-04-01 · Red Hat rating Importantvirt:8.1 security update
- Advanced Virtualization CodeReady Builder for RHEL 8.1.1 SLOF-20190703-1.gitba1ab360.module+el8.1.1+5309+6d656f05.src::virt-devel:8.1, hivex-1.3.15-7.module+el8.1.1+5309+6d656f05.i686::virt-devel:8.1, hivex-devel-1.3.15-7.module+el8.1.1+5309+6d656f05.i686::virt-devel:8.1 +47
- Advanced Virtualization for RHEL 8.1.1 SLOF-20190703-1.gitba1ab360.module+el8.1.1+5309+6d656f05.noarch::virt:8.1, SLOF-20190703-1.gitba1ab360.module+el8.1.1+5309+6d656f05.src::virt:8.1, hivex-1.3.15-7.module+el8.1.1+5309+6d656f05.aarch64::virt:8.1 +47
- RHSA-2020:1150 Released 2020-03-31 · Red Hat rating Importantqemu-kvm-ma security update
- Red Hat Enterprise Linux Server (v. 7) qemu-img-ma-10:2.12.0-44.el7, qemu-kvm-common-ma-10:2.12.0-44.el7, qemu-kvm-ma-10:2.12.0-44.el7 +1
- Red Hat Enterprise Linux Server Optional (v. 7) qemu-kvm-common-ma-10:2.12.0-44.el7, qemu-kvm-ma-10:2.12.0-44.el7, qemu-kvm-tools-ma-10:2.12.0-44.el7
- RHSA-2020:1116 Released 2020-03-31 · Red Hat rating Importantqemu-kvm security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) qemu-img-10:1.5.3-173.el7, qemu-kvm-10:1.5.3-173.el7, qemu-kvm-common-10:1.5.3-173.el7 +1
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) qemu-img-10:1.5.3-173.el7, qemu-kvm-10:1.5.3-173.el7, qemu-kvm-common-10:1.5.3-173.el7 +1
- Red Hat Enterprise Linux Server (v. 7) qemu-img-10:1.5.3-173.el7, qemu-kvm-10:1.5.3-173.el7, qemu-kvm-common-10:1.5.3-173.el7 +1
- Red Hat Enterprise Linux Workstation (v. 7) qemu-img-10:1.5.3-173.el7, qemu-kvm-10:1.5.3-173.el7, qemu-kvm-common-10:1.5.3-173.el7 +1
- RHSA-2020:0889 Released 2020-03-17 · Red Hat rating Importantslirp4netns security update
- Red Hat Enterprise Linux 7 Extras slirp4netns-0.3.0-8.el7_7
- RHSA-2020:0775 Released 2020-03-10 · Red Hat rating Importantqemu-kvm security update
- Red Hat Enterprise Linux Desktop (v. 6) qemu-guest-agent-2:0.12.1.2-2.506.el6_10.6, qemu-img-2:0.12.1.2-2.506.el6_10.6, qemu-kvm-2:0.12.1.2-2.506.el6_10.6 +1
- Red Hat Enterprise Linux HPC Node (v. 6) qemu-guest-agent-2:0.12.1.2-2.506.el6_10.6, qemu-img-2:0.12.1.2-2.506.el6_10.6, qemu-kvm-2:0.12.1.2-2.506.el6_10.6 +1
- Red Hat Enterprise Linux Server (v. 6) qemu-guest-agent-2:0.12.1.2-2.506.el6_10.6, qemu-img-2:0.12.1.2-2.506.el6_10.6, qemu-kvm-2:0.12.1.2-2.506.el6_10.6 +1
- Red Hat Enterprise Linux Workstation (v. 6) qemu-guest-agent-2:0.12.1.2-2.506.el6_10.6, qemu-img-2:0.12.1.2-2.506.el6_10.6, qemu-kvm-2:0.12.1.2-2.506.el6_10.6 +1
- RHSA-2020:0348 Released 2020-02-04 · Red Hat rating Importantcontainer-tools:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) buildah-1.11.6-4.module+el8.1.1+5259+bcdd613a.aarch64::container-tools:rhel8, buildah-1.11.6-4.module+el8.1.1+5259+bcdd613a.ppc64le::container-tools:rhel8, buildah-1.11.6-4.module+el8.1.1+5259+bcdd613a.s390x::container-tools:rhel8 +47
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 Advanced Virtualization | Affected | No fix yet |
| Advanced Virtualization CodeReady Builder for RHEL 8.1.1 | Fixed | RHSA-2020:1261 |
| Advanced Virtualization for RHEL 8.1.1 | Fixed | RHSA-2020:1261 |
| RHV-M 4.2 | Fixed | RHSA-2020:2342 |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2020:1358 |
| Red Hat Enterprise Linux 7 Extras | Fixed | RHSA-2020:0889 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:0348, RHSA-2020:1358, RHSA-2020:1360 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.0) | Fixed | RHSA-2020:1344 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:1116 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2020:1116 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.7) | Fixed | RHSA-2020:1351 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2020:0775 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2020:0775 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2020:0775 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:1116, RHSA-2020:1150 |
| Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2020:1351, RHSA-2020:1352 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2020:1150 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.7) | Fixed | RHSA-2020:1352 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2020:0775 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:1116 |
| Red Hat OpenShift Container Platform 4.3 | Fixed | — |
| Red Hat OpenStack Platform 10.0 | Fixed | RHSA-2020:1300 |
| Red Hat OpenStack Platform 13.0 | Fixed | RHSA-2020:1296, RHSA-2020:2730 |
| Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server | Fixed | RHSA-2020:2730 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat OpenShift Container Platform 4.3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7039
- 2026-10-03 Alias added: GHSA-fr8m-vw66-8v9r
References
Patch 4
- https://gitlab.freedesktop.org/slirp/libslirp/commit/ce131029d6d4a405cb7d3ac6716d03e58fb4a5d9
- https://gitlab.freedesktop.org/slirp/libslirp/commit/82ebe9c370a0e2970fb5695aa19aa5214a6a1c80
- https://gitlab.freedesktop.org/slirp/libslirp/commit/2655fffed7a9e765bcb4701dd876e9dab975f289
- http://www.openwall.com/lists/oss-security/2020/01/16/2
Advisory 10
- [debian-lts-announce] 20200126 [SECURITY] [DLA 2076-1] slirp security update
- [debian-lts-announce] 20200131 [SECURITY] [DLA 2090-1] qemu security update
- 20200203 [SECURITY] [DSA 4616-1] qemu security update
- DSA-4616
- RHSA-2020:0348
- USN-4283-1
- RHSA-2020:0775
- openSUSE-SU-2020:0468
- GLSA-202005-02
- [debian-lts-announce] 20210209 [SECURITY] [DLA 2551-1] slirp security update
Sources
- CVE-2020-7039 · CVE Program
- CVE-2020-7039 · NVD
- FIRST EPSS
- GHSA-fr8m-vw66-8v9r · GitHub Advisory Database · CC BY 4.0
- CVE-2020-7039 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences