# CVE-2020-7039: 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 EMUIRC.

- 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): 3.57%, higher than 89% of CVEs (2026-12-01)
- Published: 2020-01-16T22:51:40.000Z
- Modified: 2026-06-17T03:24:10.470Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libslirp_project libslirp: 4.1.0
- qemu qemu: 4.2.0
- debian debian_linux: 8.0; 9.0
- opensuse leap: 15.1

## 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://gitlab.freedesktop.org/slirp/libslirp/commit/ce131029d6d4a405cb7d3ac6716d03e58fb4a5d9> (patch, third-party-advisory)
- <https://gitlab.freedesktop.org/slirp/libslirp/commit/82ebe9c370a0e2970fb5695aa19aa5214a6a1c80> (patch, third-party-advisory)
- <https://gitlab.freedesktop.org/slirp/libslirp/commit/2655fffed7a9e765bcb4701dd876e9dab975f289> (patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2020/01/16/2> (mailing-list, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/01/msg00022.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/01/msg00036.html> (mailing-list, third-party-advisory)
- <https://seclists.org/bugtraq/2020/Feb/0> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4616> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2020:0348> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4283-1/> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2020:0775> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00007.html> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202005-02> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/02/msg00012.html> (mailing-list, third-party-advisory)

## Sources

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

---

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