CVE-2026-54610: LibreDWG: const-input mutation and crash in bit_TV_to_utf8 error handling
LibreDWG · libredwg
Affected: libredwg · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 1% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- LibreDWG · libredwg< 0.14
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- October 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-54610 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-471cwe.mitre.org
- github.com/LibreDWG/libredwg/security/advisories/GHSA-5p98-8245-github.com
- github.com/LibreDWG/libredwg/commit/08c034a224a4e9512b1cd62e74b5github.com
- github.com/LibreDWG/libredwg/releases/tag/0.14github.com
- github.com/user-attachments/files/28631091/libredwg-bit-tv-to-utgithub.com