GNU libredwg Layer Encoding dwg.spec DWG_TABLE null pointer dereference
cve-program · CVE-2026-90622
PublishedA security flaw has been discovered in GNU libredwg 0.13.4. This impacts the function DWG_TABLE of the file src/dwg.spec of the component Layer Encoding. Performing a manipulation results in null pointer dereference. The attack needs to be approached locally. The exploit has been released to the public and may be used for attacks. Upgrading to version 0.14 will fix this issue. The patch is named f5b548c4c1697d66c3dabd0f6a49280a14365a3a. The affected component should be upgraded. The FIELD_HANDLE macro itself is NULL-safe (emits null_handle) - only the two raw zeroing assignments added by 27118c40 ("encode: also disable LAYER.material") dereferenced a NULL material handle; the fix restores the file's existing if (_obj->style) guard convention for material.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-90622 · CVE overview and exploitation status
cve-program · CVE-2026-90622
- https://vuldb.com/vuln/403204
- https://vuldb.com/vuln/403204/cti
- https://vuldb.com/cve/CVE-2026-90622
- https://vuldb.com/submit/914770
- https://github.com/LibreDWG/libredwg/issues/1269
- https://github.com/user-attachments/files/28549357/repro.zip
- https://github.com/LibreDWG/libredwg/commit/f5b548c4c1697d66c3dabd0f6a49280a14365a3a
- https://github.com/LibreDWG/libredwg/releases/tag/0.14
- https://www.gnu.org/
Related changes
Linked by CVE identifierNo related changes are available here.