CVE-2019-6778 Memory corruption in n/a

High 7.8 Published Updated

A heap-based buffer overflow in QEMU's SLIRP TCP emulation allows attackers to execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-6778?

CVE-2019-6778 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 17 Mar 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In QEMU 3.0.0, tcp_emu in slirp/tcp_subr.c has a heap-based buffer overflow.

Weakness: CWE-787

Which versions are affected by CVE-2019-6778?

It affects 4 products.

Linux distribution packages (21)
qemu-img Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-160.el7_6.3
qemu-kvm Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-160.el7_6.3
qemu-kvm-common Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-160.el7_6.3
qemu-kvm-debuginfo Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-160.el7_6.3
qemu-kvm-tools Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-160.el7_6.3
qemu-img Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-160.el7_6.3
qemu-kvm Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-160.el7_6.3
qemu-kvm-common Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-160.el7_6.3
qemu-kvm-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-160.el7_6.3
qemu-kvm-tools Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-160.el7_6.3
qemu-img Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-160.el7_6.3
qemu-kvm Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-160.el7_6.3
qemu-kvm-common Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-160.el7_6.3
qemu-kvm-debuginfo Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-160.el7_6.3
qemu-kvm-tools Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-160.el7_6.3
qemu-img Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-160.el7_6.3
qemu-kvm Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-160.el7_6.3
qemu-kvm-common Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-160.el7_6.3
qemu-kvm-debuginfo Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-160.el7_6.3
qemu-kvm-tools Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-160.el7_6.3
slirp4netns openSUSE:TumbleweedAll versions1.1.11-1.2

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Opensuse Leap, Qemu Qemu.

How do I fix CVE-2019-6778?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-6778 being exploited?

There is no known exploitation of CVE-2019-6778 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-6778, GHSA-4wxm-q46g-3mcf, RHSA-2019:1883, UBUNTU-CVE-2019-6778, openSUSE-SU-2024:11387-1.

Is CVE-2019-6778 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free