CVE-2020-13253
NixOS vulnerability analysis and mitigation

Overview

An out-of-bounds read access vulnerability was discovered in the SD Memory Card emulator of QEMU 4.2.0, identified as CVE-2020-13253. The vulnerability was discovered in May 2020 and affects the sd_wp_addr function in hw/sd/sd.c. The issue occurs when performing block write commands via sdhci_write() operations, where an unvalidated address leads to an out-of-bounds read (NIST NVD, OpenWall).

Technical details

The vulnerability stems from the sd_wp_addr function in hw/sd/sd.c where the code uses an unvalidated address derived from 's->data_start'. When performing block write commands via sdhci_write(), if a guest user sends an address which is out-of-bounds of 's->wp_groups', it results in an out-of-bounds read. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NIST NVD).

Impact

The vulnerability allows a guest OS user to crash the QEMU process, resulting in a denial of service (DoS) condition. The impact is limited to availability with no direct impact on confidentiality or integrity of the system (NIST NVD, Ubuntu Security).

Exploitability

The vulnerability requires local access with low attack complexity. An attacker needs to be a guest user/process to exploit this vulnerability by sending specifically crafted addresses during block write commands. The vulnerability has been confirmed to be exploitable, with proof-of-concept code available (OpenWall).

Mitigation and workarounds

The vulnerability has been patched in various distributions. Ubuntu has released fixes in versions 1:4.2-3ubuntu6.4 for Ubuntu 20.04, 1:2.11+dfsg-1ubuntu7.31 for Ubuntu 18.04, and 1:2.5+dfsg-5ubuntu10.45 for Ubuntu 16.04. Debian has addressed the issue in version 1:2.8+dfsg-6+deb9u11 for Debian 9 stretch and 1:3.1+dfsg-8+deb10u9 for Debian 10 buster. Gentoo has fixed the vulnerability in version 5.1.0-r1 (Ubuntu Security, Debian LTS, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • gcc-toolset-15-binutils-devel
NoYesSep 14, 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

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