{"id":"CVE-2026-9502","aliases":["EUVD-2026-31740","GHSA-mxm7-v873-f6m3","openSUSE-SU-2026:21346-1"],"status":"published","title":"GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section heap-based overflow","description":"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.","severity":{"version":"4.0","score":4.8,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00154,"percentile":0.04523,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119","CWE-122"],"published":"2026-05-25T20:45:10Z","modified":"2026-10-28T11:21:42Z","affected":[{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"libredwg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14.8413-bp160.1.1"}]}],"bundled":9}],"products":[{"vendor":"gnu","product":"libredwg"}],"references":[{"url":"https://vuldb.com/vuln/365484","tags":["vdb-entry","technical-description","advisory"]},{"url":"https://vuldb.com/vuln/365484/cti","tags":["signature","permissions-required","report"]},{"url":"https://vuldb.com/submit/814259","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/LibreDWG/libredwg/issues/1243","tags":["issue-tracking","report"]},{"url":"https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_6d6a339_heap_overflow_decompress_R2004_section.dwg","tags":["exploit","evidence"]},{"url":"https://github.com/LibreDWG/libredwg/commit/e501cb9926c1e9a07a0d1cc997f3e69e9be801c9","tags":["patch","fix"]},{"url":"https://www.gnu.org/","tags":["product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9502","tags":["advisory"]},{"url":"https://www.gnu.org"},{"url":"https://github.com/advisories/GHSA-mxm7-v873-f6m3"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9502.json","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1266287","tags":["report"]},{"url":"https://bugzilla.suse.com/1266321","tags":["report"]},{"url":"https://bugzilla.suse.com/1266365","tags":["report"]},{"url":"https://bugzilla.suse.com/1266377","tags":["report"]},{"url":"https://bugzilla.suse.com/1266378","tags":["report"]},{"url":"https://bugzilla.suse.com/1266379","tags":["report"]},{"url":"https://bugzilla.suse.com/1266380","tags":["report"]},{"url":"https://bugzilla.suse.com/1271169","tags":["report"]},{"url":"https://bugzilla.suse.com/1271170","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-15181","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-15184","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9501","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9502","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9503","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9504","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9529","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9530","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9605","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-9502","title":"GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section heap-based overflow","description":"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.","status":"published","published":"2026-05-25T20:45:10.399Z","modified":"2026-05-26T12:37:08.356Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.0","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C","assessor":"cna"}],"cwes":["CWE-122","CWE-119"],"updated_at":"2026-11-02T13:42:37.965383Z"}],"euvd":[{"id":"EUVD-2026-31740","description":"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.","status":"published","published":"2026-05-25T20:45:10Z","modified":"2026-05-26T12:37:08Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T18:21:07.388987Z"}],"ghsa":[{"id":"GHSA-mxm7-v873-f6m3","title":"A vulnerability was identified in GNU LibreDWG up to 0.14. This affects the function...","description":"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.","status":"published","published":"2026-05-26T13:30:51Z","modified":"2026-05-26T13:30:56Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":1.9,"vector":"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","level":"low"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:08:17.507995Z"}],"nvd":[{"id":"CVE-2026-9502","description":"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.","status":"published","published":"2026-05-25T21:16:35.997Z","modified":"2026-07-23T11:10:00.12Z","cvss":[{"version":"4.0","score":1.9,"vector":"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","level":"low","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T14:12:20.131508Z"}],"osv":[{"id":"CVE-2026-9502","title":"GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section heap-based overflow","description":"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.","status":"published","published":"2026-05-25T20:45:10.399Z","modified":"2026-10-28T11:21:42.228835659Z","cvss":[{"version":"4.0","score":1.9,"vector":"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","level":"low"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T15:45:20.931171Z"},{"id":"openSUSE-SU-2026:21346-1","title":"Security update for libredwg","description":"This update for libredwg fixes the following issues:\n\nChanges in libredwg:\n\n- Update to snapshot 0.14.8413\n  * fix dwg_next_entity NULL pointer dereference\n    [CVE-2026-15184, boo#1271170]\n  * Fix dwg_bmp thumbnail overflow checks\n    [CVE-2026-15181, boo#1271169]\n  * Resolve NULL pointer dereference (SEGV) in match_BLOCK_HEADER\n    [CVE-2026-9529, boo#1266380]\n  * Added DXB (binary DXF) support: dwgwrite/dwgread/dwg2dxf accept\n    DXB input/output, and dxfwrite accepts DXB.\n  * Minor features:\n  * R2007+ split string stream encoding for Header, Classes, and\n    objects.\n  * Added cycle checks in entity link chains.\n  * Added release helpers and improved CI (ODAFileConverter QT6,\n    xvfb-run).\n  * dwgfuzz: show mode with --version.\n\n- update to 0.14:\n  * Write support for r2004 (AC1018) DWG files.  The encoder now\n    produces compressed, encrypted section headers and the\n    LZ77-compressed object data layout required since r2004.\n  * Split large object files (encode, decode) into 2 objects,\n    significantly reducing peak memory usage during compilation\n    and enabling parallel builds to scale better.\n  * dwgadd: handle fields (e.g. layer, ltype, style) can now be\n    set by table-record name in addition to raw handle references.\n    A string value like `line.layer = \"FOO\"` is resolved via\n    dwg_find_tablehandle() at parse time.\n  * Added DXB (binary DXF) support: dwgwrite/dwgread/dwg2dxf\n    accept DXB input/output, and dxfwrite accepts DXB.\n  * R2007+ split string stream encoding for Header, Classes, and\n    objects.\n  * Added cycle checks in entity link chains.  GH #1226.\n  * Added regression tests for decompress_r2007 OOB reads and\n    R2004 section decompression.  Added dwgfilter.test.\n  * Added release helpers and improved CI (ODAFileConverter QT6,\n    xvfb-run).\n  * dwgfuzz: show mode with --version.\n  * API/ABI changes (source-incompatible):\n  * Renamed HEADER/2NDHEADER.is_maint to maint_rel_version.\n  * Renamed PROXY_OBJECT.dwg_versions.\n  * Bumped SO_VERSION to 0:14:0.\n\n- Update to snapshot 0.13.4.8200\n  * Write support for r2004 (AC1018) DWG files. The encoder now\n    produces compressed, encrypted section headers and the\n    LZ77-compressed object data layout required since r2004.\n  * Split large object files (encode, decode) into 2 objects,\n    significantly reducing peak memory usage during compilation and\n    enabling parallel builds to scale better.\n  * dwgadd: handle fields (e.g. layer, ltype, style) can now be set\n    by table-record name in addition to raw handle references. A\n    string value like `line.layer = \"FOO\"` is resolved via\n    dwg_find_tablehandle() at parse time.\n  * Fix decompress_R2004_section buffer overflow\n    [CVE-2026-9501, CVE-2026-9502, CVE-2026-9529, CVE-2026-9530,\n    boo#1266377, boo#1266378, boo#1266380, boo#1266287]\n  * Fix dwg_next_entity NULL pointer dereference\n    [CVE-2026-9503, boo#1266379]\n  * Fix NULL pointer dereferences in DXF output for corrupted DWG\n    input [CVE-2026-9504, boo#1266321]\n  * decode: fix decompression overflow [CVE-2026-9605, boo#1266365]\n","status":"published","published":"2026-07-13T10:19:51Z","modified":"2026-07-15T18:24:13.820776949Z","updated_at":"2026-11-02T16:58:41.885092Z"}]}}
