CVE-2026-135294
published medium CVSS 4.0 · 5.8LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LibreCAD | — | LibreCAD0 through 2.2.1.6 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecadaarch64 | Advisory build | 2.2.1.6-3.1 | OPENSUSE-SU-2026:12665-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecadppc64le | Advisory build | 2.2.1.6-3.1 | OPENSUSE-SU-2026:12665-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecads390x | Advisory build | 2.2.1.6-3.1 | OPENSUSE-SU-2026:12665-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecadx86_64 | Advisory build | 2.2.1.6-3.1 | OPENSUSE-SU-2026:12665-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecad-partsaarch64 | Advisory build | 2.2.1.6-3.1 | OPENSUSE-SU-2026:12665-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecad-partsppc64le | Advisory build | 2.2.1.6-3.1 | OPENSUSE-SU-2026:12665-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecad-partss390x | Advisory build | 2.2.1.6-3.1 | OPENSUSE-SU-2026:12665-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | librecad-partsx86_64 | Advisory build | 2.2.1.6-3.1 | OPENSUSE-SU-2026:12665-1 |
Description
LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in RS_FilterDXF1::readFileInBuffer() caused by unvalidated truncation of the 64-bit file size. Attackers can persuade users to open a crafted DXF file sized 0xFFFFFFF8 bytes, writing a NUL byte before an 8-byte buffer to corrupt heap metadata and crash the application.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LibreCAD | LibreCAD | 0 through 2.2.1.6 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
4- https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.6/librecad/src/lib/filters/rs_filterdxf1.cpp#L1827-L1850
- https://github.com/LibreCAD/LibreCAD/commit/4e51048ee7ae82e553e739b3bba82d5fa89698e1
- https://github.com/LibreCAD/LibreCAD/pull/3287
- VulnCheck Advisory: LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer() https://www.vulncheck.com/advisories/librecad-through-2.2.1.6-heap-out-of-bounds-write-via-rs-filterdxf1-readfileinbuffer
Provider assertions
2VulnCheck · cna
LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4856f230e0f8a64c92aa82d627ba337def4407ed03865c826686cb25f44ae055
- Ingested
- 23 Nov 2026, 18:39:32 UTC
- Source record
- Official CVE record