GNU LibreDWG Assertion Failure Vulnerability in Dwgread Utility

Vulnerability

An assertion failure vulnerability has been identified in GNU LibreDWG versions through 0.14, specifically within the Dwgread Utility's 'decompress_R2004_section' function in 'src/decode.c'. This vulnerability arises from inadequate validation of offset and position values when processing maliciously crafted DWG R2004 compressed section data. As a result, the internal decompression position pointer can become smaller than the expected offset, leading to a program crash. The vulnerability requires local execution to exploit.

Impact

Exploitation of this vulnerability causes a program crash due to an assertion failure, aborting the process and generating a core dump.

Reproduction

The vulnerability can be reproduced by compiling GNU LibreDWG with AddressSanitizer enabled, using AFL++ as the fuzzing tool. After compiling the program, the 'dwgread' utility can be used to parse a maliciously crafted DWG file that triggers the assertion failure in the 'decompress_R2004_section' function.

Remediation

Users are advised to update to the patched version of GNU LibreDWG, which is available on the official GitHub repository.

Added: May 26, 2026, 6:18 PM
Updated: May 26, 2026, 6:18 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
4.6
remediation
7.7
relevance
9.4
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.