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 read_2004_section_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).

Exploitability

The vulnerability has been documented with proof-of-concept code and is considered exploitable. A detailed bug report with proof-of-concept code was submitted through the project's issue tracking system (Github Issue).

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-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 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

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