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

Medium 4.8 Published Updated

A local attacker can cause a denial of service via null pointer dereference in GNU libredwg's layer encoding by manipulating a DWG file.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-90622?

CVE-2026-90622 is a medium-severity vulnerability in GNU libredwg, published on 14 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2026-90622?

How do I fix CVE-2026-90622?

No fix has been published for CVE-2026-90622 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-90622 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-90622 exists.

Sources

Also known as GHSA-4mr5-prf2-3x3c.

Is CVE-2026-90622 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free