{"id":"CVE-2026-9605","aliases":["EUVD-2026-32023","GHSA-9fj3-rp2j-9wq6","openSUSE-SU-2026:10879-1","openSUSE-SU-2026:21346-1"],"status":"published","title":"GNU libredwg Dwgbmp Utility bits.c bit_read_RC heap-based overflow","description":"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. The exploit has been published and may be used. Patch name: 8f03865f37f5d4ffd616fef802acc980be54d300. Applying a patch is the recommended action to fix this issue.","severity":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-11","score":0.00339,"percentile":0.27699,"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-26T23:15:20Z","modified":"2026-10-28T11:21:54Z","affected":[{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libredwg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.4.8200-1.1"}]}],"bundled":4},{"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/365678","tags":["vdb-entry","technical-description","advisory"]},{"url":"https://vuldb.com/vuln/365678/cti","tags":["signature","permissions-required","report"]},{"url":"https://vuldb.com/submit/818197","tags":["third-party-advisory","exploit","advisory"]},{"url":"https://github.com/LibreDWG/libredwg/issues/1248","tags":["issue-tracking","exploit","report"]},{"url":"https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_6d6a339_heap_oob_write_read_2004_compressed_section.dwg","tags":["exploit","evidence"]},{"url":"https://github.com/LibreDWG/libredwg/commit/8f03865f37f5d4ffd616fef802acc980be54d300","tags":["patch","fix"]},{"url":"https://www.gnu.org/","tags":["broken-link","product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9605","tags":["advisory"]},{"url":"https://www.gnu.org"},{"url":"https://github.com/advisories/GHSA-9fj3-rp2j-9wq6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9605.json","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9501","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-9605","tags":["web"]},{"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-9502","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"]}],"sources":{"cve":[{"id":"CVE-2026-9605","title":"GNU libredwg Dwgbmp Utility bits.c bit_read_RC heap-based overflow","description":"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. The exploit has been published and may be used. Patch name: 8f03865f37f5d4ffd616fef802acc980be54d300. Applying a patch is the recommended action to fix this issue.","status":"published","published":"2026-05-26T23:15:20.385Z","modified":"2026-05-28T13:52:18.548Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","level":"high","assessor":"cna"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","level":"high","assessor":"cna"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/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-32023","description":"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. The exploit has been published and may be used. Patch name: 8f03865f37f5d4ffd616fef802acc980be54d300. Applying a patch is the recommended action to fix this issue.","status":"published","published":"2026-05-26T23:15:20Z","modified":"2026-05-28T13:52:18Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-02T18:21:02.581093Z"}],"ghsa":[{"id":"GHSA-9fj3-rp2j-9wq6","title":"A flaw has been found in GNU libredwg up to 0.13.4.8160. This issue affects the function...","description":"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. The exploit has been published and may be used. Patch name: 8f03865f37f5d4ffd616fef802acc980be54d300. Applying a patch is the recommended action to fix this issue.","status":"published","published":"2026-05-27T00:31:28Z","modified":"2026-05-27T00:31:29Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"},{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:08:18.762226Z"}],"nvd":[{"id":"CVE-2026-9605","description":"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. The exploit has been published and may be used. Patch name: 8f03865f37f5d4ffd616fef802acc980be54d300. Applying a patch is the recommended action to fix this issue.","status":"published","published":"2026-05-27T00:16:39.157Z","modified":"2026-07-24T12:10:00.21Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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":"medium","assessor":"secondary"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"secondary"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T14:12:20.511562Z"}],"osv":[{"id":"CVE-2026-9605","title":"GNU libredwg Dwgbmp Utility bits.c bit_read_RC heap-based overflow","description":"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. The exploit has been published and may be used. Patch name: 8f03865f37f5d4ffd616fef802acc980be54d300. Applying a patch is the recommended action to fix this issue.","status":"published","published":"2026-05-26T23:15:20.385Z","modified":"2026-11-09T07:01:54.70599972Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-09T03:16:17.543303Z"},{"id":"openSUSE-SU-2026:10879-1","title":"libredwg-devel-0.13.4.8200-1.1 on GA media","description":"These are all security issues fixed in the libredwg-devel-0.13.4.8200-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-05-28T00:00:00Z","modified":"2026-05-29T08:15:06.391057736Z","updated_at":"2026-11-02T16:58:38.95195Z"},{"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"}]}}
