CVE-2026-9503: GNU LibreDWG null pointer dereference in dwg_next_entity

CVE-2026-9503 · Severity: low · CVSS 3.3 · Published 2026-05-25

A security vulnerability exists in GNU LibreDWG, a library used for reading and writing DWG files (AutoCAD drawings). An attacker could provide a specially crafted drawing file that causes the software to crash when processed. This results in a denial-of-service condition, potentially disrupting operations that rely on automated drawing conversions or processing.

Technologies: Gnu LibreDWG. Vendors: Gnu.

Quick answers

Is CVE-2026-9503 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-9503 being exploited in the wild.
How severe is CVE-2026-9503?
Low severity, with a CVSS score of 3.3, published 25 May 2026.
Which products and versions are affected?
Gnu LibreDWG up to 0.14.
Is there a fix for CVE-2026-9503?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-9503 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-9503?
Check whether you run Gnu LibreDWG at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A NULL pointer dereference vulnerability exists in GNU LibreDWG up to version 0.14 within the dwg_next_entity function in src/decode.c (and dwg.c). The flaw is triggered during the processing of malformed DWG files, specifically when handling decompression overflows or entity traversal in the DWG File Handler. A local attacker can exploit this by providing a crafted DWG file to a utility using the library (such as dwg2SVG), causing a segmentation fault (SEGV) and application crash. A patch has been identified in commit 8f03865f37f5d4ffd616fef802acc980be54d300 which adds bounds checking for decompression sizes.

Affected products

  • GNU LibreDWG up to 0.14

Timeline

  • 2026-05-25: advisory: NVD publication date
  • 2026-05-25: disclosed: Vulnerability details and exploit released to the public

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.