CVE-2026-126497

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

High published · updated

8.5
CVSS score out of 10 · NVD (vulncheck.com)

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 and versions

Product / packageEcosystem / vendorVersionsFixed inSource
librecad librecad ≤2.2.1.6— CVE.org

References