CVE-2026-54610
LibreDWG: const-input mutation and crash in bit_TV_to_utf8 error handling
- Low 3.3
Description
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.
Key facts
- Published
- 30 Oct 2026
- Last changed
- 5 Nov 2026
- Assigned by
- GitHub_M
- EPSS
- 0.118% likely to be exploited in the next 30 days, higher than 1.761% of CVEs (scores for 16 Nov 2026)
- SSVC (CISA)
- Exploitation: poc; Automatable: no; Technical impact: partial
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 3.3CVSS 3.1, Lowfrom the CNA (GitHub_M)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| LibreDWG | libredwg |
|
Timeline
- 30 Oct 2026 Published
Weakness
References
- https://github.com/LibreDWG/libredwg/security/advisories/GHSA-5p98-8245-6hxq
- https://github.com/LibreDWG/libredwg/commit/08c034a224a4e9512b1cd62e74b5cf081a4cfa89
- https://github.com/LibreDWG/libredwg/releases/tag/0.14
- https://github.com/user-attachments/files/28631091/libredwg-bit-tv-to-utf8-submission.tar.gz