Skip to content
OpenAdvisories
High openSUSE-SU-2026:21346-1 8 CVEs

Security update for libredwg

Published Jul 13, 2026 · Updated Jul 15, 2026

Summary

This update for libredwg fixes the following issues:

Changes in libredwg:

- Update to snapshot 0.14.8413
* fix dwg_next_entity NULL pointer dereference
[CVE-2026-15184, boo#1271170]
* Fix dwg_bmp thumbnail overflow checks
[CVE-2026-15181, boo#1271169]
* Resolve NULL pointer dereference (SEGV) in match_BLOCK_HEADER
[CVE-2026-9529, boo#1266380]
* Added DXB (binary DXF) support: dwgwrite/dwgread/dwg2dxf accept
DXB input/output, and dxfwrite accepts DXB.
* Minor features:
* R2007+ split string stream encoding for Header, Classes, and
objects.
* Added cycle checks in entity link chains.
* Added release helpers and improved CI (ODAFileConverter QT6,
xvfb-run).
* dwgfuzz: show mode with --version.

- update to 0.14:
* Write support for r2004 (AC1018) DWG files. The encoder now
produces compressed, encrypted section headers and the
LZ77-compressed object data layout required since r2004.
* Split large object files (encode, decode) into 2 objects,
significantly reducing peak memory usage during compilation
and enabling parallel builds to scale better.
* dwgadd: handle fields (e.g. layer, ltype, style) can now be
set by table-record name in addition to raw handle references.
A string value like `line.layer = "FOO"` is resolved via
dwg_find_tablehandle() at parse time.
* Added DXB (binary DXF) support: dwgwrite/dwgread/dwg2dxf
accept DXB input/output, and dxfwrite accepts DXB.
* R2007+ split string stream encoding for Header, Classes, and
objects.
* Added cycle checks in entity link chains. GH #1226.
* Added regression tests for decompress_r2007 OOB reads and
R2004 section decompression. Added dwgfilter.test.
* Added release helpers and improved CI (ODAFileConverter QT6,
xvfb-run).
* dwgfuzz: show mode with --version.
* API/ABI changes (source-incompatible):
* Renamed HEADER/2NDHEADER.is_maint to maint_rel_version.
* Renamed PROXY_OBJECT.dwg_versions.
* Bumped SO_VERSION to 0:14:0.

- Update to snapshot 0.13.4.8200
* Write support for r2004 (AC1018) DWG files. The encoder now
produces compressed, encrypted section headers and the
LZ77-compressed object data layout required since r2004.
* Split large object files (encode, decode) into 2 objects,
significantly reducing peak memory usage during compilation and
enabling parallel builds to scale better.
* dwgadd: handle fields (e.g. layer, ltype, style) can now be set
by table-record name in addition to raw handle references. A
string value like `line.layer = "FOO"` is resolved via
dwg_find_tablehandle() at parse time.
* Fix decompress_R2004_section buffer overflow
[CVE-2026-9501, CVE-2026-9502, CVE-2026-9529, CVE-2026-9530,
boo#1266377, boo#1266378, boo#1266380, boo#1266287]
* Fix dwg_next_entity NULL pointer dereference
[CVE-2026-9503, boo#1266379]
* Fix NULL pointer dereferences in DXF output for corrupted DWG
input [CVE-2026-9504, boo#1266321]
* decode: fix decompression overflow [CVE-2026-9605, boo#1266365]

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 libredwg 0.14.8413-bp160.1.1

Vulnerabilities 8

  • High 7.3

    GNU libredwg Dwgbmp Utility bits.c bit_read_RC heap-based overflow

    A flaw has been found in GNU libredwg up to 0.13.4.8160. This issue affects the function bit_read_RC of the file bits.c of the component Dwgbmp Utility. This manipulation causes heap-based buffer overflow. The attack is possible to be carried out remotely. Th…

  • Medium 5.3

    GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section heap-based overflow

    A vulnerability was identified in GNU LibreDWG up to 0.14. This affects the function decompress_R2004_section of the file src/decode.c of the component Dwgread Utility. The manipulation leads to heap-based buffer overflow. The attack must be carried out local…

  • Low 3.3

    GNU LibreDWG DWG File dwg.c dwg_next_entity null pointer dereference

    A vulnerability was found in GNU LibreDWG up to 0.13.4. The impacted element is the function dwg_next_entity of the file src/dwg.c of the component DWG File Handler. Performing a manipulation of the argument next_obj results in null pointer dereference. The a…

  • Low 3.3

    GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section assertion

    A vulnerability was determined in GNU LibreDWG up to 0.14. The impacted element is the function decompress_R2004_section of the file src/decode.c of the component Dwgread Utility. Executing a manipulation can lead to reachable assertion. The attack is restric…

  • Low 3.3

    GNU LibreDWG DWG File decode.c dwg_next_entity null pointer dereference

    A security flaw has been discovered in GNU LibreDWG up to 0.14. This impacts the function dwg_next_entity of the file src/decode.c of the component DWG File Handler. The manipulation results in null pointer dereference. The attack must be initiated from a loc…

  • Low 3.3

    GNU LibreDWG Dwggrep Utility dwggrep.c bit_convert_TU out-of-bounds

    A weakness has been identified in GNU LibreDWG up to 0.14. Affected is the function bit_convert_TU of the file programs/dwggrep.c of the component Dwggrep Utility. This manipulation causes out-of-bounds read. The attack needs to be launched locally. The explo…

  • Low 3.3

    GNU LibreDWG Dwggrep Utility dwggrep.c match_BLOCK_HEADER null pointer dereference

    A security flaw has been discovered in GNU LibreDWG up to 0.14. The affected element is the function match_BLOCK_HEADER of the file dwggrep.c of the component Dwggrep Utility. Performing a manipulation results in null pointer dereference. The attack requires …

  • Low 3.3

    GNU LibreDWG Dwgbmp Utility decode.c read_2004_compressed_section out-of-bounds

    A weakness has been identified in GNU LibreDWG up to 0.14. The impacted element is the function read_2004_compressed_section of the file src/decode.c of the component Dwgbmp Utility. Executing a manipulation can lead to out-of-bounds read. The attack requires…

References

  • report
    https://bugzilla.suse.com/1266287
  • report
    https://bugzilla.suse.com/1266321
  • report
    https://bugzilla.suse.com/1266365
  • report
    https://bugzilla.suse.com/1266377
  • report
    https://bugzilla.suse.com/1266378
  • report
    https://bugzilla.suse.com/1266379
  • report
    https://bugzilla.suse.com/1266380
  • report
    https://bugzilla.suse.com/1271169
  • report
    https://bugzilla.suse.com/1271170
  • web
    https://www.suse.com/security/cve/CVE-2026-15181
  • web
    https://www.suse.com/security/cve/CVE-2026-15184
  • web
    https://www.suse.com/security/cve/CVE-2026-9501
  • web
    https://www.suse.com/security/cve/CVE-2026-9502
  • web
    https://www.suse.com/security/cve/CVE-2026-9503
  • web
    https://www.suse.com/security/cve/CVE-2026-9504
  • web
    https://www.suse.com/security/cve/CVE-2026-9529
  • web
    https://www.suse.com/security/cve/CVE-2026-9530
  • web
    https://www.suse.com/security/cve/CVE-2026-9605