Heap out-of-bounds write in LibreCAD when opening crafted DXF files
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write (CWE-787) in RS_FilterDXF1::readFileInBuffer() because it does not validate a 64-bit file size that gets truncated. An attacker who persuades a user to open a crafted DXF file can corrupt heap metadata and crash the application.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for LibreCAD.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Timeline
- 2026-11-23 Threatist record created from CVE-2026-135294
- 2026-11-23 CISA SSVC decision points changed
- 2026-11-23 Alias added: GHSA-485x-j2jj-35v3
References
More LibreCAD vulnerabilities
- TI-2023-14195 A Buffer Overflow vulnerability in importshp plugin in LibreCAD 2.2.0 allows attackers to… CVSS 3.1MEDIUM 5.5
- TI-2026-74100 Stack out-of-bounds read in LibreCAD libdxfrw DWG header parsing CVSS 4.0MEDIUM 4.8
- TI-2021-20492 A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD… CVSS 3.1HIGH 8.8
- TI-2021-04945 Use after free in LibreCAD CVSS 3.1HIGH 8.8
- TI-2021-04944 Memory corruption in LibreCAD CVSS 3.1HIGH 8.8
- TI-2021-04943 Memory corruption in LibreCAD CVSS 3.1HIGH 8.8
Sources
- CVE-2026-135294 · CVE Program
- CVE-2026-135294 · NVD
- FIRST EPSS
- GHSA-485x-j2jj-35v3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences