CVE-2020-21842
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability (CVE-2020-21842) exists in GNU LibreDWG version 0.10 in the read2004section_revhistory function located at ../../src/decode.c:3051. The vulnerability was discovered and disclosed in May 2021 (NVD).

Technical details

The vulnerability is classified as a heap-based buffer overflow, specifically an out-of-bounds write (CWE-787). It has received a CVSS v3.1 Base Score of 8.8 HIGH with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. This indicates that the vulnerability can be exploited remotely without requiring privileges, though it does require user interaction (NVD).

Impact

If successfully exploited, this vulnerability could lead to unauthorized access to critical data, potential code execution, and system compromise. The high CVSS score indicates severe potential impacts on confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

Users should upgrade to a version newer than LibreDWG 0.10. The vulnerability has been addressed in subsequent releases (NVD).

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-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

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