Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2026-126497 EUVD-2026-123062GHSA-8vq5-h62f-ccwp

LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via dwgReader18::parseDataPage

Published Nov 11, 2026 · Updated Nov 12, 2026 · Assigned by VulnCheck

Description

LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in the bundled libdxfrw dwgReader18::parseDataPage() function due to unchecked buffer size and page offsets. Attackers can craft an AC1018 (R2004) DWG file with malicious startOffset values that cause decompress18 to write past the heap buffer when opened, causing crashes and potential code execution.

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 —

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

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

References