Skip to content
Fencer Vulns
medium 5.5

CVE-2018-20126 json

hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks because errors are mishandled.

published 2018-12-20 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-12696

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 42%
public exploits
0
none known

Summary

hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks because errors are mishandled.

Patch / fix

  • qemu Debian 14, Debian 13, Debian 12 1:4.1-1

debian advisories DEBIAN-CVE-2018-20126

  • qemu SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 2.11.2-5.23.2
  • qemu SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 3.1.1.1-9.6.2
  • qemu SLE Module for Server Applications 15, SLE Module for Basesystem 15 2.11.2-9.33.1

suse advisories SUSE-SU-2019:2956-1SUSE-SU-2019:2955-1SUSE-SU-2019:2954-1

  • qemu openSUSE Tumbleweed 6.1.0-32.1
  • qemu openSUSE Leap 15.1 3.1.1.1-lp151.7.6.1
  • qemu-linux-user openSUSE Leap 15.1 3.1.1.1-lp151.7.6.1
  • qemu openSUSE Leap 15.0 2.11.2-lp150.7.28.1

opensuse advisories openSUSE-SU-2024:11287-1openSUSE-SU-2019:2510-1openSUSE-SU-2019:2505-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-20126 updated cvss 3.2

QEMU: pvrdma: memory leakage when creating cq/qp

  • Red Hat Enterprise Linux 5 kvm, xen Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-img-ma, qemu-kvm-ma, qemu-kvm-rhev, +6 more Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) qemu-img-rhev, qemu-kvm-rhev, libcacard-rhev, qemu-kvm-tools-rhev, libcacard-devel-rhev, libcacard-tools-rhev, +1 more Red Hat OpenStack Platform 8 (Liberty) qemu-img-rhev, qemu-kvm-rhev, libcacard-rhev, qemu-kvm-tools-rhev, libcacard-devel-rhev, libcacard-tools-rhev, +1 more Red Hat OpenStack Platform 9 (Mitaka) qemu-img-rhev, qemu-kvm-rhev, libcacard-rhev, qemu-kvm-tools-rhev, libcacard-devel-rhev, libcacard-tools-rhev, +1 more
    +3 more products
    Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev Red Hat OpenStack Platform 12 (Pike) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
    not 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

0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-772 Missing Release of Resource after Effective Lifetime

References

Sources

Fencer Vulns 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.