CVE-2021-39523
NixOS vulnerability analysis and mitigation

Overview

A NULL pointer dereference vulnerability was discovered in libredwg through version 0.10.1.3751. The vulnerability exists in the function checkPOLYLINEhandles() located in decode.c. This security issue was assigned CVE-2021-39523 and was publicly disclosed on September 20, 2021 (NVD, Debian Tracker).

Technical details

The vulnerability is caused by a NULL pointer dereference in the checkPOLYLINEhandles() function within decode.c. When processing certain malformed DWG files, the function fails to properly validate pointer values before dereferencing them. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).

Impact

When successfully exploited, this vulnerability allows an attacker to cause a Denial of Service (DoS) condition by triggering a segmentation fault in the application. This can result in the application crashing when processing specially crafted DWG files (GitHub Issue).

Mitigation and workarounds

Users should upgrade to a version of libredwg newer than v0.10.1.3751 which contains fixes for this vulnerability (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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 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