{"id":"CVE-2023-36271","aliases":["EUVD-2023-40242","GHSA-fx57-4pvv-5x6q","openSUSE-SU-2023:0201-1","openSUSE-SU-2024:13051-1"],"status":"published","title":"LibreDWG v0.12.5 was discovered to contain a heap buffer overflow via the function bit_wcs2nlen...","description":"LibreDWG v0.10 to v0.12.5 was discovered to contain a heap buffer overflow via the function bit_wcs2nlen at bits.c.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00921,"percentile":0.60602,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2023-06-23T00:00:00Z","modified":"2026-10-28T10:38:59Z","affected":[{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP5","package":"libredwg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.5.5907-bp155.3.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"libredwg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.5.5907-bp155.3.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libredwg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.5.5907-1.1"}]}],"bundled":3}],"products":[{"vendor":"gnu","product":"libredwg"}],"references":[{"url":"https://github.com/LibreDWG/libredwg/issues/681#BUG2","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/LibreDWG/libredwg/commit/c1ed1d91e28a6ddc7a9b5479d4795d58fb6be0ca","tags":["Patch","fix"]},{"url":"https://github.com/LibreDWG/libredwg/blob/0.10/src/bits.c#L1677C11-L1683C17","tags":["Product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36271","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fx57-4pvv-5x6q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36271.json","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/5EOM2KLYJEVITQUC3RNZBNGK6DL4RR4C/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1200898","tags":["report"]},{"url":"https://bugzilla.suse.com/1212705","tags":["report"]},{"url":"https://bugzilla.suse.com/1212706","tags":["report"]},{"url":"https://bugzilla.suse.com/1212707","tags":["report"]},{"url":"https://bugzilla.suse.com/1212709","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-33025","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-36271","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-36272","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-36273","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-36274","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-36271","description":"LibreDWG v0.10 to v0.12.5 was discovered to contain a heap buffer overflow via the function bit_wcs2nlen at bits.c.","status":"published","published":"2023-06-23T00:00:00Z","modified":"2025-03-06T20:34:45.486Z","updated_at":"2026-11-02T14:35:27.810438Z"}],"euvd":[{"id":"EUVD-2023-40242","description":"LibreDWG v0.10 to v0.12.5 was discovered to contain a heap buffer overflow via the function bit_wcs2nlen at bits.c.","status":"published","published":"2023-06-23T00:00:00Z","modified":"2025-03-06T20:34:45Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"none"}],"updated_at":"2026-11-02T20:53:11.059252Z"}],"ghsa":[{"id":"GHSA-fx57-4pvv-5x6q","title":"LibreDWG v0.12.5 was discovered to contain a heap buffer overflow via the function bit_wcs2nlen...","description":"LibreDWG v0.12.5 was discovered to contain a heap buffer overflow via the function bit_wcs2nlen at bits.c.","status":"published","published":"2023-06-23T15:30:44Z","modified":"2025-03-06T21:32:24Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:00:10.810827Z"}],"nvd":[{"id":"CVE-2023-36271","description":"LibreDWG v0.10 to v0.12.5 was discovered to contain a heap buffer overflow via the function bit_wcs2nlen at bits.c.","status":"published","published":"2023-06-23T15:15:10.027Z","modified":"2026-06-17T06:05:58.207Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:08:12.414559Z"}],"osv":[{"id":"CVE-2023-36271","description":"LibreDWG v0.10 to v0.12.5 was discovered to contain a heap buffer overflow via the function bit_wcs2nlen at bits.c.","status":"published","published":"2023-06-23T00:00:00Z","modified":"2026-10-28T10:38:59.755016738Z","updated_at":"2026-11-02T15:44:32.510144Z"},{"id":"openSUSE-SU-2023:0201-1","title":"Security update for libredwg","description":"This update for libredwg fixes the following issues:\n\nUpdate to version 0.12.5.5907\n\nSecurity issues fixed:\n\n* CVE-2022-33025: Fixed multiple security issues [boo#1200898]\n* CVE-2023-36271: Fixed heap buffer overflow via the function bit_wcs2nlen [boo#1212709]\n* CVE-2023-36272: Fixed heap buffer overflow via the function bit_utf8_to_TU [boo#1212707]\n* CVE-2023-36273: Fixed heap buffer overflow via the function bit_calc_CRC [boo#1212706]\n* CVE-2023-36274: Fixed heap buffer overflow via the function bit_write_TF [boo#1212705]\n","status":"published","published":"2023-08-02T09:53:16Z","modified":"2026-02-04T03:57:15.250955Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:13051-1","title":"libredwg-devel-0.12.5.5907-1.1 on GA media","description":"These are all security issues fixed in the libredwg-devel-0.12.5.5907-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:03:38.286425Z","updated_at":"2026-11-02T16:58:36.025801Z"}]}}
