CVE-2021-36080
NixOS vulnerability analysis and mitigation

Overview

GNU LibreDWG versions 0.12.3.4163 through 0.12.3.4191 contains a double-free vulnerability in the bitchainfree function, which is called from dwgencodeMTEXT and dwgencodeadd_object functions. The vulnerability was discovered on March 6, 2021, and was fixed in a subsequent update (OSS-Fuzz Report).

Technical details

The vulnerability is a heap-based double-free issue that occurs in the bitchainfree function when it's called from dwgencodeMTEXT and dwgencodeaddobject. The issue arises in cases of handle overflow, such as numreactors, where the same memory location is freed twice (LibreDWG Commit).

Impact

A heap double-free vulnerability can lead to memory corruption, which could potentially result in program crashes or arbitrary code execution. The severity of this vulnerability has been rated as HIGH according to the ecosystem-specific assessment (OSS-Fuzz Vulns).

Mitigation and workarounds

The vulnerability was fixed in a commit (9b6e0ff9ef02818df034fc42c3bd149a5ff89342) that modified the handle data management to avoid the double-free condition. Users should upgrade to a version after 0.12.3.4191 to receive the fix (LibreDWG Commit).

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-48639HIGH7.3
  • 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

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