Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2026-135294 EUVD-2026-133237GHSA-485x-j2jj-35v3

LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()

Published Nov 23, 2026 · Updated Nov 23, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
LibreCAD LibreCAD ≤ 2.2.1.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 librecad No fix yet —
Debian 13 librecad No fix yet —
Debian 12 librecad No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 librecad No fix yet —
Ubuntu 26.04 LTS librecad No fix yet —
Ubuntu 24.04 LTS librecad No fix yet —
Ubuntu 22.04 LTS librecad No fix yet —
Ubuntu 20.04 LTS librecad No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS librecad No fix yet —
Ubuntu Pro 16.04 LTS librecad No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed librecad 2.2.1.6-3.1 openSUSE-SU-2026:12665-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • googlesky/CVE-2026-135294 ★ 0 · Nov 25, 2026

    LibreCAD through 2.2.1.6: unbounded DXF file size cast to int — wrapped buffer/read length. ASan+UBSan differential: allocation-size-too-big on vuln, rejection on fixed

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References