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

Published Updated

A crafted DXF file opened in LibreCAD can corrupt heap memory and crash the application.

CVSS score

Medium

5.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
See affected versions
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-135294?

CVE-2026-135294 is a medium-severity memory corruption vulnerability in LibreCAD, published on 23 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787

How severe is CVE-2026-135294?

CVE-2026-135294 scores 5.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
Low
Availability
High

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

Which versions are affected by CVE-2026-135294?

1 open source package ship an affected version, including librecad/librecad.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
librecad/librecad GitHub
pkg:github/librecad/librecad
All versions to 2.2.1.6None
Linux distribution packages 1
librecad openSUSE:Tumbleweed
pkg:rpm/opensuse/librecad
All versions2.2.1.6-3.1
Status by vendor 1
WhoReleaseStatusPackages
openSUSETumbleweedfixedlibrecad (2.2.1.6-3.1)
pkg:rpm/opensuse/librecad

How do I fix CVE-2026-135294?

Update LibreCAD from your Linux distribution or vendor: the fixed builds are listed above.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-135294 being exploited?

There is no known exploitation of CVE-2026-135294 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2026-135294, GHSA-485x-j2jj-35v3, UBUNTU-CVE-2026-135294, openSUSE-SU-2026:12665-1.

Is CVE-2026-135294 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free