CVE-2020-13791: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-13791 is a vulnerability discovered in QEMU 4.2.0 that allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space. The vulnerability was initially reported by Ren Ding, Hanqing Zhao of SSLab Georgia Tech, and Yi Ren, and was disclosed on June 4, 2020 (OSS Security).

Technical details

The vulnerability exists in the ati-vga emulator of QEMU, specifically affecting the ati_mm_read routine when reading PCI configuration bytes. The issue has a CVSS 3.1 Base Score of 5.5 (Medium) with a vector of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access required with low attack complexity (Ubuntu Security).

Impact

When successfully exploited, this vulnerability could lead to a Denial of Service (DoS) condition by causing the QEMU process to crash. The vulnerability affects the availability of the system while having no impact on confidentiality or integrity (NetApp Security).

Exploitability

The vulnerability requires local access with low attack complexity. A guest user or process can trigger this vulnerability by sending an address towards the end of the PCI configuration space during PCI configuration byte reading operations (OSS Security).

Mitigation and workarounds

A patch was proposed to add checks ensuring 'address + len' remains within PCI configuration space before reading configuration bytes. The fix involves modifying the hw/pci/pci.c file to include additional boundary checks (GNU Mail Archive).

Community reactions

Various Linux distributions and vendors have responded to this vulnerability. Ubuntu marked it as a low-priority issue and deferred fixes for multiple releases. Gentoo included this vulnerability in their security advisory GLSA-202011-09, recommending users upgrade to QEMU version 5.1.0-r1 or later (Gentoo Security).

Additional resources


Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-123634CRITICAL9.2
  • NGINX logoNGINX
  • nginx:1.26::nginx
NoYesNov 18, 2026
CVE-2026-123633CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-stream-geoip-debuginfo
NoYesNov 18, 2026
CVE-2026-123007CRITICAL9.2
  • NGINX logoNGINX
  • openresty
NoYesNov 18, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx:1.24::nginx-filesystem
NoYesNov 18, 2026
CVE-2026-123640MEDIUM6.9
  • NGINX logoNGINX
  • nginx:1.24::nginx-mod-stream
NoYesNov 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management