CVE-2026-54610
published low CVSS 3.1 · 3.3LibreDWG: const-input mutation and crash in bit_TV_to_utf8 error handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LibreDWG | — | libredwg< 0.14 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LibreDWG | libredwg | < 0.14 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-471 CWE-471: Modification of Assumed-Immutable Data (MAID)
- CWE-703 CWE-703: Improper Check or Handling of Exceptional Conditions
References
4- https://github.com/LibreDWG/libredwg/commit/08c034a224a4e9512b1cd62e74b5cf081a4cfa89
- https://github.com/LibreDWG/libredwg/releases/tag/0.14
- https://github.com/LibreDWG/libredwg/security/advisories/GHSA-5p98-8245-6hxq
- https://github.com/user-attachments/files/28631091/libredwg-bit-tv-to-utf8-submission.tar.gz
Provider assertions
2GitHub_M · cna
LibreDWG: const-input mutation and crash in bit_TV_to_utf8 error handling
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4af29c2366285aecb10d99a51788bc5c70b41b169aeec068bff77c72b338e64d
- Ingested
- 05 Nov 2026, 02:52:18 UTC
- Source record
- Official CVE record