# CVE-2026-90622: GNU libredwg Layer Encoding dwg.spec DWG_TABLE null pointer dereference

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-09-14T03:30:13.806Z
- Modified: 2026-09-15T18:19:37.603Z
- Weaknesses: CWE-404, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A 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.

(As written by CVE List.)

## Affected

- GNU libredwg: 0.13.4 (not affected: 0.14)

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/LibreDWG/libredwg/issues/1269> (exploit, issue-tracking)
- <https://github.com/user-attachments/files/28549357/repro.zip> (exploit)
- <https://vuldb.com/vuln/403204> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/403204/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-90622> (third-party-advisory)
- <https://vuldb.com/submit/914770> (third-party-advisory)
- <https://github.com/LibreDWG/libredwg/commit/f5b548c4c1697d66c3dabd0f6a49280a14365a3a> (patch)
- <https://github.com/LibreDWG/libredwg/releases/tag/0.14> (patch)
- <https://www.gnu.org/> (broken-link, product)

## Sources

- CVE List: [CVE-2026-90622](https://www.cve.org/CVERecord?id=CVE-2026-90622), CVE Terms of Use, modified 2026-09-15
- NVD: [CVE-2026-90622](https://nvd.nist.gov/vuln/detail/CVE-2026-90622), Public domain, modified 2026-09-15

---

Page: https://cve.day/CVE-2026-90622 · Whole record: https://cve.day/CVE-2026-90622.json · Rebuilt by cve.day 2026-11-25T22:59:38.228Z
