CVE-2019-3840 json
A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 in the way it gets interface information through the QEMU ag…
published 7y ago modified 4mo ago also EUVD-2019-13460
- cvss
- 5.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 in the way it gets interface information through the QEMU agent. An attacker in a guest VM can use this flaw to crash libvirtd and cause a denial of service.
Patch / fix
- redhat libvirt 5.0.0
- libvirt Debian 14, Debian 13, Debian 12 5.0.0-1
debian advisories DEBIAN-CVE-2019-3840
- libvirt Ubuntu 16.04 LTS 1.3.1-1ubuntu10.25
- libvirt Ubuntu 18.04 LTS 4.0.0-1ubuntu8.8
ubuntu advisories UBUNTU-CVE-2019-3840
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libvirt RHEL 7 4.5.0-23.el7
- libvirt-nss RHEL 7 4.5.0-23.el7
- libvirt-libs RHEL 7 4.5.0-23.el7
- libvirt-admin RHEL 7 4.5.0-23.el7
- libvirt-client RHEL 7 4.5.0-23.el7
- libvirt-daemon RHEL 7 4.5.0-23.el7
- libvirt-daemon-kvm RHEL 7 4.5.0-23.el7
- libvirt-daemon-lxc RHEL 7 4.5.0-23.el7
red hat advisories RHSA-2019:2294
- libvirt SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 3.3.0-5.30.1
- libvirt SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +1 more 4.0.0-8.9.1
- libvirt SLE Module for Server Applications 15, SLE Module for Basesystem 15 4.0.0-9.16.7
- libvirt SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 2.0.0-27.48.1
suse advisories SUSE-SU-2019:1042-1SUSE-SU-2019:0948-1SUSE-SU-2019:0936-1SUSE-SU-2019:0553-1
- libvirt openSUSE Leap 15.0 4.0.0-lp150.7.10.4
opensuse advisories openSUSE-SU-2019:1288-1
Is CVE-2019-3840 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-3840 updated cvss 5.8
libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function
-
Red Hat Enterprise Linux Client (v. 7) libvirt 4.5.0-23.el7, libvirt-libs 4.5.0-23.el7, libvirt-client 4.5.0-23.el7, libvirt-daemon 4.5.0-23.el7, libvirt-daemon-kvm 4.5.0-23.el7, libvirt-bash-completion 4.5.0-23.el7, +18 more Red Hat Enterprise Linux Client Optional (v. 7) libvirt-nss 4.5.0-23.el7, libvirt-admin 4.5.0-23.el7, libvirt-daemon-lxc 4.5.0-23.el7, libvirt-login-shell 4.5.0-23.el7, libvirt-lock-sanlock 4.5.0-23.el7 Red Hat Enterprise Linux ComputeNode (v. 7) libvirt 4.5.0-23.el7, libvirt-libs 4.5.0-23.el7, libvirt-client 4.5.0-23.el7, libvirt-bash-completion 4.5.0-23.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libvirt 4.5.0-23.el7, libvirt-nss 4.5.0-23.el7, libvirt-admin 4.5.0-23.el7, libvirt-daemon 4.5.0-23.el7, libvirt-daemon-kvm 4.5.0-23.el7, libvirt-daemon-lxc 4.5.0-23.el7, +20 more Red Hat Enterprise Linux Server (v. 7) libvirt 4.5.0-23.el7, libvirt-libs 4.5.0-23.el7, libvirt-client 4.5.0-23.el7, libvirt-daemon 4.5.0-23.el7, libvirt-daemon-kvm 4.5.0-23.el7, libvirt-bash-completion 4.5.0-23.el7, +18 more Red Hat Enterprise Linux Server Optional (v. 7) libvirt-nss 4.5.0-23.el7, libvirt-admin 4.5.0-23.el7, libvirt-daemon-lxc 4.5.0-23.el7, libvirt-login-shell 4.5.0-23.el7, libvirt-lock-sanlock 4.5.0-23.el7fixed: vendor fix RHSA-2019:2294
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libvirt 4.5.0-23.el7, libvirt-libs 4.5.0-23.el7, libvirt-client 4.5.0-23.el7, libvirt-daemon 4.5.0-23.el7, libvirt-daemon-kvm 4.5.0-23.el7, libvirt-bash-completion 4.5.0-23.el7, +18 more Red Hat Enterprise Linux Workstation Optional (v. 7) libvirt-nss 4.5.0-23.el7, libvirt-admin 4.5.0-23.el7, libvirt-daemon-lxc 4.5.0-23.el7, libvirt-login-shell 4.5.0-23.el7, libvirt-lock-sanlock 4.5.0-23.el7 -
Red Hat Enterprise Linux 5 libvirt Red Hat Enterprise Linux 6 libvirt, libvirt-client, libvirt-python, libvirt-lock-sanlock Red Hat Enterprise Linux 8 libvirt, libvirt-nss, libvirt-libs, libvirt-admin, libvirt-client, libvirt-daemon, +22 more Red Hat Storage 3 libvirt-lock-sanlocknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.48% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3840 referenced PoC, tagged "exploit" by a source, unverified
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1663051 referenced PoC, tagged "exploit" by a source, unverified
- redhat.com https://www.redhat.com/archives/libvir-list/2019-January/msg00241.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.8 | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H |
| NVD | 3.0 | 6.3 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:N/A:P |
Affected products
- The libvirt Project libvirt
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-3840
exploit, issue-tracking, patch, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1663051
exploit, issue-tracking, third-party-advisory, vendor-advisory
-
redhat.com
/archives/libvir-list/2019-January/msg00241.html
exploit, vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00101.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00105.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/TZRP2BRMI4RYFRPNFTTIAAUOGVN2ORP7/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:2294
vendor-advisory
Sources
- CVE List CVE-2019-3840
- NVD CVE-2019-3840
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.