| 标题 | GNU libredwg 0.13.4.8229 (git 9b4adcbf, 2026-06-01) NULL Pointer Dereference |
|---|
| 描述 | libredwg 0.13.4.8229 is affected by SEGV when executing function dwg_encode_LAYER_private . This may result in remote code execution.dwg_encode_LAYER_private dereferences the LAYER material handle
(Dwg_Object_Ref *) without a NULL check when encoding to an R_2007a+
target version. On a malformed R2007 input whose LAYER objects decode with a
NULL material, this is a write through a NULL pointer (0x0 + offsetof absolute_ref), causing a SEGV (AddressSanitizer reports a WRITE to address
0x20). UndefinedBehaviorSanitizer independently flags it as member access within null pointer of type 'Dwg_Object_Ref'.
The crash is reached on the standard decode → encode round-trip, e.g. via the
in-tree examples/dwgfuzz -rw harness, or via the public
dwg_read_file + dwg_write_file API (minimal reproducer below). |
|---|
| 来源 | ⚠️ https://github.com/LibreDWG/libredwg/issues/1269 |
|---|
| 用户 | lcyf-fizz (UID 82520) |
|---|
| 提交 | 2026-08-04 08時59分 (1 月前) |
|---|
| 管理 | 2026-09-12 22時27分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403204 [GNU libredwg 0.13.4 Layer Encoding src/dwg.spec DWG_TABLE 拒绝服务] |
|---|
| 积分 | 20 |
|---|