CVEfocus › CVE database › CVE-2020-25742

CVE-2020-25742

CVSS 3.2 LowEPSS 0.5% (higher than 33% of CVEs)Published 2020-10-06Updated 2024-08-04Assigner: mitre

pci_change_irq_level in hw/pci/pci.c in QEMU before 5.1.1 has a NULL pointer dereference because pci_get_bus() might not return a valid pointer.

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
8Fix pending
4Under investigation
2Will not fix
58Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10qemuFix pendingUBUNTU-CVE-2020-25742
Ubuntu 26.10qemu-hweFix pendingUBUNTU-CVE-2020-25742
Ubuntu 26.04qemuUnder investigationUBUNTU-CVE-2020-25742
Ubuntu 26.04qemu-hweUnder investigationUBUNTU-CVE-2020-25742
Ubuntu 25.10qemuWill not fix
as of 2026-08-20, the proposed patch has not been commited upstream
UBUNTU-CVE-2020-25742
Ubuntu 24.04qemuUnder investigationUBUNTU-CVE-2020-25742
Ubuntu 22.04qemuUnder investigationUBUNTU-CVE-2020-25742
Ubuntu 20.04qemuFix pendingUBUNTU-CVE-2020-25742
Ubuntu 18.04qemuFix pendingUBUNTU-CVE-2020-25742
Ubuntu 16.04qemuWill not fix
as of 2026-08-20, the proposed patch has not been commited upstream
UBUNTU-CVE-2020-25742
Ubuntu 14.04qemuFix pendingUBUNTU-CVE-2020-25742
Debian 14qemuFix pendingDEBIAN-CVE-2020-25742
Debian 13qemuFix pendingDEBIAN-CVE-2020-25742
Debian 12qemuFix pendingDEBIAN-CVE-2020-25742
Red Hat Enterprise Linux 9qemu-guest-agentNot affected
Red Hat Enterprise Linux 9qemu-imgNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvm-audio-paNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-blkioNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-curlNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-rbdNot affected
Red Hat Enterprise Linux 9qemu-kvm-commonNot affected
Red Hat Enterprise Linux 9qemu-kvm-coreNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpuNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-ccwNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pciNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pci-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vgaNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vga-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-usb-hostNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-usb-redirectNot affected
Red Hat Enterprise Linux 9qemu-kvm-docsNot affected
Red Hat Enterprise Linux 9qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 9qemu-kvm-ui-egl-headlessNot affected
Red Hat Enterprise Linux 9qemu-kvm-ui-openglNot affected
Red Hat Enterprise Linux 9qemu-pr-helperNot affected
Red Hat Enterprise Linux 8qemu-guest-agentNot affected
Red Hat Enterprise Linux 8qemu-imgNot affected
Red Hat Enterprise Linux 8qemu-kvmNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-curlNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-glusterNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-iscsiNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-rbdNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-sshNot affected
Red Hat Enterprise Linux 8qemu-kvm-commonNot affected
Red Hat Enterprise Linux 8qemu-kvm-coreNot affected
Red Hat Enterprise Linux 8qemu-kvm-docsNot affected
Red Hat Enterprise Linux 8qemu-kvm-hw-usbredirNot affected
Red Hat Enterprise Linux 8qemu-kvm-testsNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-openglNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-spiceNot affected
Red Hat Enterprise Linux 7libcacardNot affected
Red Hat Enterprise Linux 7libcacard-develNot affected
Red Hat Enterprise Linux 7libcacard-toolsNot affected
Red Hat Enterprise Linux 7qemu-guest-agentNot affected
Red Hat Enterprise Linux 7qemu-imgNot affected
Red Hat Enterprise Linux 7qemu-img-maNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-commonNot affected
Red Hat Enterprise Linux 7qemu-kvm-common-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-rhevNot affected
Red Hat Enterprise Linux 7qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 7qemu-kvm-tools-maNot affected
Red Hat Enterprise Linux 6qemu-guest-agentNot affected
Red Hat Enterprise Linux 6qemu-guest-agent-win32Not affected
Red Hat Enterprise Linux 6qemu-imgNot affected
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 6qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 5kvmNot affected
Red Hat Enterprise Linux 5xenNot affected
Alpine Linux 3.24qemuFixed5.2.0-r0ALPINE-CVE-2020-25742
Alpine Linux 3.23qemuFixed5.2.0-r0ALPINE-CVE-2020-25742
Alpine Linux 3.22qemuFixed5.2.0-r0ALPINE-CVE-2020-25742
Alpine Linux 3.21qemuFixed5.2.0-r0ALPINE-CVE-2020-25742
Alpine Linux 3.20qemuFixed5.2.0-r0ALPINE-CVE-2020-25742
Alpine Linux 3.19qemuFixed5.2.0-r0ALPINE-CVE-2020-25742
Alpine Linux 3.18qemuFixed5.2.0-r0ALPINE-CVE-2020-25742
Alpine Linux 3.17qemuFixed5.2.0-r0ALPINE-CVE-2020-25742
Alpine Linux 3.16qemuFixed5.2.0-r0ALPINE-CVE-2020-25742

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.