# CVE-2026-15184: GNU LibreDWG null pointer dereference in dwg_next_entity

Source: https://junglewise.ai/threats/cve-2026-15184-gnu-libredwg-null-pointer-dereference-in-dwg-next-entity  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-09. Updated: 2026-07-09  
License: CC BY 4.0 with a link back

CVE-2026-15184 · Severity: low · CVSS 3.3 · Published 2026-07-09

GNU LibreDWG is a software library used to read and write DWG files, which are the native format for CAD software like AutoCAD. A vulnerability in the library's file handling component could allow a local user to cause a program crash (denial of service) by providing a specially crafted DWG file. This could disrupt operations for users or automated systems processing CAD data.

Technologies: [Gnu LibreDWG](https://junglewise.ai/threats/technologies/libredwg). Vendors: [Gnu](https://junglewise.ai/threats/vendors/gnu).

## Quick answers

**Is CVE-2026-15184 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-15184 being exploited in the wild.

**How severe is CVE-2026-15184?** Low severity, with a CVSS score of 3.3, published 9 July 2026.

**Which products and versions are affected?** Gnu LibreDWG up to 0.13.4.

**Is there a fix for CVE-2026-15184?** A patch was published on 2026-06-27: Version 0.14 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-15184 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-15184?** 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 exists in GNU LibreDWG versions up to and including 0.13.4 within the 'dwg_next_entity' function in 'src/dwg.c'. The vulnerability is triggered when the 'dwg_ref_object_silent' function returns a NULL pointer for the 'next_obj' argument, which is subsequently accessed without a proper null check during DWG entity traversal. An attacker with local access can exploit this by providing a malformed DWG file to a utility using the library (such as 'dwggrep'), leading to a segmentation fault and application crash. This issue has been resolved in version 0.14 by adding a check to ensure 'next_obj' is not NULL before access.

## Affected products

- GNU LibreDWG up to 0.13.4

## Timeline

- 2026-04-29: disclosed: Issue reported on GitHub with PoC
- 2026-06-27: patched: Version 0.14 released
- 2026-07-09: advisory: CVE-2026-15184 published

## References

- [https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_0b57303_dwggrep_segv_null_read_dwg_next_entity_dwg.c_1231.dwg](https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_0b57303_dwggrep_segv_null_read_dwg_next_entity_dwg.c_1231.dwg)
- [https://github.com/LibreDWG/libredwg/commit/dde45dac3c4d902e4d8fed150a8017b9732019c9](https://github.com/LibreDWG/libredwg/commit/dde45dac3c4d902e4d8fed150a8017b9732019c9)
- [https://github.com/LibreDWG/libredwg/issues/1253](https://github.com/LibreDWG/libredwg/issues/1253)
- [https://github.com/LibreDWG/libredwg/releases/tag/0.14](https://github.com/LibreDWG/libredwg/releases/tag/0.14)
- [https://vuldb.com/cve/CVE-2026-15184](https://vuldb.com/cve/CVE-2026-15184)
- [https://vuldb.com/submit/851192](https://vuldb.com/submit/851192)
- [https://vuldb.com/vuln/377110](https://vuldb.com/vuln/377110)

## Related threats

- [GNU LibreDWG out-of-bounds read in AcDs decoder](https://junglewise.ai/threats/cve-2026-111167-gnu-libredwg-through-0-14-8612-contains-a-global-out-of-bounds)
- [GNU libredwg null pointer dereference in LAYER encoding](https://junglewise.ai/threats/cve-2026-90622-gnu-libredwg-null-pointer-dereference-in-layer-encoding)
- [GNU LibreDWG heap overflow in decompress_R2004_section](https://junglewise.ai/threats/cve-2026-15520-gnu-libredwg-heap-overflow-in-decompress-r2004-section)
- [GNU LibreDWG heap buffer overflow in BMP Image Handler](https://junglewise.ai/threats/cve-2026-15182-gnu-libredwg-heap-buffer-overflow-in-bmp-image-handler)
- [GNU libredwg heap buffer overflow in bit_read_RC](https://junglewise.ai/threats/cve-2026-9605-gnu-libredwg-heap-buffer-overflow-in-bit-read-rc)
