CVE-2026-9502
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 locally. The exploit is publicly available and might be used. The identifier of the patch is e501cb9926c1e9a07a0d1cc997f3e69e9be801c9. To fix this issue, it is recommended to deploy a patch.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.8
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 locally. The exploit is publicly available and might be used. The identifier of the patch is e501cb9926c1e9a07a0d1cc997f3e69e9be801c9. To fix this issue, it is recommended to deploy a patch.
- Record
CVE-2026-9502- CVSS 4.0
- 4.8 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C - CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C - CVSS 2.0
- 4.3
AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C - Weakness
- CWE-122, CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2026-31740
4.8
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 locally. The exploit is publicly available and might be used. The identifier of the patch is e501cb9926c1e9a07a0d1cc997f3e69e9be801c9. To fix this issue, it is recommended to deploy a patch.
- Record
EUVD-2026-31740- CVSS 4.0
- 4.8 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-mxm7-v873-f6m3
1.9
A vulnerability was identified in GNU LibreDWG up to 0.14. This affects the function...
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 locally. The exploit is publicly available and might be used. The identifier of the patch is e501cb9926c1e9a07a0d1cc997f3e69e9be801c9. To fix this issue, it is recommended to deploy a patch.
- Record
GHSA-mxm7-v873-f6m3- CVSS 4.0
- 1.9 Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-119
- Updated
- 2026-11-02
NVD
1.9
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 locally. The exploit is publicly available and might be used. The identifier of the patch is e501cb9926c1e9a07a0d1cc997f3e69e9be801c9. To fix this issue, it is recommended to deploy a patch.
- Record
CVE-2026-9502- CVSS 4.0
- 1.9 Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 2.0
- 4.3 Medium
AV:L/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-119, CWE-122
- Updated
- 2026-11-02
OSV
1.9
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 locally. The exploit is publicly available and might be used. The identifier of the patch is e501cb9926c1e9a07a0d1cc997f3e69e9be801c9. To fix this issue, it is recommended to deploy a patch.
- Record
CVE-2026-9502- CVSS 4.0
- 1.9 Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - Weakness
- CWE-119, CWE-122
- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21346-1 No score
Security update for libredwg
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]
- Record
openSUSE-SU-2026:21346-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libredwgopenSUSE:Leap 16.0 |
before 0.14.8413-bp160.1.1 | 0.14.8413-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-9502 is a medium vulnerability (CVSS 4.8) in Gnu Libredwg, published May 25, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.15%, the 4th percentile. Fixed in libredwg 0.14.8413-bp160.1.1.
References
vuldb.com/vuln/365484
vuldb.com/vuln/365484/cti
vuldb.com/submit/814259
github.com/LibreDWG/libredwg/issues/1243
github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_6d6a339_heap_overflow_decompress_R2004_section.dwg
github.com/LibreDWG/libredwg/commit/e501cb9926c1e9a07a0d1cc997f3e69e9be801c9
Show 22 moreShow less
gnu.org
nvd.nist.gov/vuln/detail/CVE-2026-9502
github.com/advisories/GHSA-mxm7-v873-f6m3
github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9502.json
bugzilla.suse.com/1266287
bugzilla.suse.com/1266321
bugzilla.suse.com/1266365
bugzilla.suse.com/1266377
bugzilla.suse.com/1266378
bugzilla.suse.com/1266379
bugzilla.suse.com/1266380
bugzilla.suse.com/1271169
bugzilla.suse.com/1271170
suse.com/security/cve/CVE-2026-15181
suse.com/security/cve/CVE-2026-15184
suse.com/security/cve/CVE-2026-9501
suse.com/security/cve/CVE-2026-9502
suse.com/security/cve/CVE-2026-9503
suse.com/security/cve/CVE-2026-9504
suse.com/security/cve/CVE-2026-9529
suse.com/security/cve/CVE-2026-9530
suse.com/security/cve/CVE-2026-9605