| tiêu đề | LibreDWG Project LibreDWG <= 0.14, main branch up to commit 6d6a339 (released 2026-04-10) Heap-based Buffer Overflow (CWE-122) |
|---|
| Mô tả | A heap-based buffer overflow vulnerability exists in the LibreDWG library, in versions up to and including 0.14, and the main branch up to commit 6d6a339 (2026-04-10). The vulnerability resides in the read_2004_compressed_section function within src/decode.c at line 2181. This flaw is caused by insufficient length validation on maliciously crafted DWG R2004 compressed section input data. When processing a malformed DWG file, the length of the decoded data exceeds the capacity of the pre-allocated heap buffer, resulting in an out-of-bounds heap write operation during a memcpy call. This issue can be triggered by an attacker providing a specially crafted DWG file to the dwgread utility, leading to a segmentation fault (SEGV) crash and denial of service. Additionally, this issue is suspected to be an incomplete fix for the previously reported vulnerabilities addressed in GitHub issue #126. |
|---|
| Nguồn | ⚠️ https://github.com/LibreDWG/libredwg/issues/1241 |
|---|
| Người dùng | pwn3rd (UID 97480) |
|---|
| Đệ trình | 27/04/2026 17:21 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 25/05/2026 12:04 (28 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 365482 [GNU LibreDWG đến 0.14 Dwgread Utility src/decode.c read_2004_compressed_section tràn bộ đệm] |
|---|
| điểm | 20 |
|---|