| Title | LibreDWG Project LibreDWG <= 0.14, main branch up to commit 6d6a339 (2026-04-10) Out-of-bounds Read (CWE-125) |
|---|
| Description | A heap-based out-of-bounds read vulnerability exists in the LibreDWG library, affecting versions up to and including 0.14, and the main branch up to commit 6d6a339 released on 2026-04-10. The vulnerability occurs in the bit_read_RC function during R2004 compressed section decompression when processing maliciously crafted DWG files. Due to insufficient boundary validation, the code performs an invalid out-of-bounds heap read access. An attacker can exploit this issue by supplying a specially crafted DWG file to the dwgbmp utility linked against the vulnerable library, resulting in a program crash and denial of service. This issue is suspected to be an incomplete fix for a previously reported vulnerability. |
|---|
| Source | ⚠️ https://github.com/LibreDWG/libredwg/issues/1248 |
|---|
| User | pwn3rd (UID 97480) |
|---|
| Submission | 04/27/2026 17:45 (3 months ago) |
|---|
| Moderation | 05/25/2026 21:39 (28 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 365549 [GNU LibreDWG up to 0.14 Dwgbmp Utility src/decode.c read_2004_compressed_section out-of-bounds] |
|---|
| Points | 20 |
|---|