An issue was discovered in GNU LibreDWG through 0.9.3. There is a NULL pointer dereference in the function dwg_encode_LWPOLYLINE in dwg.spec.
Hi,
I got some bugs, and I tested on master branch and version **0.9.3**. There are **3 heap overflow**, **2 NULL pointer deference**, **1 denial of service**, **1 stack overflow** (this bug causes memory leak in master branch) in that.
Compile with **ASAN** and use **dwgrewrite** to repro that.
Hear are some details:
Several bugs need to be fixed.
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Several bugs need to be fixed.
Issue date:

--- start body ---
Hi,
I got some bugs, and I tested on master branch and version **0.9.3**. There are **3 heap overflow**, **2 NULL pointer deference**, **1 denial of service**, **1 stack overflow** (this bug causes memory leak in master branch) in that.
Compile with **ASAN** and use **dwgrewrite** to repro that.
Hear are some details:
--- end body ---

The issue reports multiple potential vulnerabilities in the LibreDWG library, including 3 heap overflows, 2 NULL pointer dereferences, 1 denial of service, and 1 stack overflow that causes a memory leak. These vulnerabilities could lead to serious security issues if exploited.