{"id":"CVE-2026-54610","aliases":["CVE-2026-54610"],"related":[],"kind":"vulnerability","state":"published","title":"LibreDWG: const-input mutation and crash in bit_TV_to_utf8 error handling","summary":"LibreDWG is a free C library to read and write DWG files. Prior to 0.14, `bit_TV_to_utf8()` in `src/bits.c` can write to the caller-provided `src` buffer despite accepting const input. On an `iconv()` error other than `E2BIG`, the function frees its output buffer and passes the original input alias to `bit_u_expand()`, which expands or shrinks Unicode and multibyte escape sequences in place. If the input is a string literal, read-only mapping, or other immutable buffer, the write can cause a segmentation fault and denial of service; mutable caller-owned input can be unexpectedly modified before being returned. This affects applications that expose the conversion API to untrusted input under those conditions. Direct file-triggered exploitability through normal DWG decode/export paths remains unconfirmed because many TV strings are heap allocated by bit_read_TV(). This issue is fixed in version 0.14.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"LibreDWG is a free C library to read and write DWG files. Prior to 0.14, `bit_TV_to_utf8()` in `src/bits.c` can write to the caller-provided `src` buffer despite accepting const input. On an `iconv()` error other than `E2BIG`, the function frees its output buffer and passes the original input alias to `bit_u_expand()`, which expands or shrinks Unicode and multibyte escape sequences in place. If the input is a string literal, read-only mapping, or other immutable buffer, the write can cause a segmentation fault and denial of service; mutable caller-owned input can be unexpectedly modified before being returned. This affects applications that expose the conversion API to untrusted input under those conditions. Direct file-triggered exploitability through normal DWG decode/export paths remains unconfirmed because many TV strings are heap allocated by bit_read_TV(). This issue is fixed in version 0.14.","source":"cvelist"}],"published":"2026-10-30T20:39:19.805Z","modified":"2026-11-05T03:17:28.487Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"}],"cwes":["CWE-471","CWE-703"],"affected":[{"ranges":[{"version":"< 0.14","status":"affected"}],"vendor":"LibreDWG","product":"libredwg","source":"cvelist"}],"references":[{"url":"https://github.com/LibreDWG/libredwg/security/advisories/GHSA-5p98-8245-6hxq","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LibreDWG/libredwg/commit/08c034a224a4e9512b1cd62e74b5cf081a4cfa89","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LibreDWG/libredwg/releases/tag/0.14","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/user-attachments/files/28631091/libredwg-bit-tv-to-utf8-submission.tar.gz","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-05T02:47:14.068Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54610","url":"https://www.cve.org/CVERecord?id=CVE-2026-54610","licence":"CVE Terms of Use","modified":"2026-11-05T02:47:43.120Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54610","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54610","licence":"Public domain","modified":"2026-11-05T03:17:28.487Z"}],"updatedAt":"2026-11-25T22:59:48.025Z","epss":{"score":0.00178,"percentile":0.07718,"date":"2026-12-01T12:00:22.000Z"}}