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

Published Nov 11, 2026
·
Updated

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 Software

1 affected component
LibreCAD LibreCAD<=2.2.1.6

Event History

Nov 11, 2026
CVE Published
via MITRE·12:58 AM
Data Sourced
via MITRE·12:58 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of LibreCAD through version 2.2.1.6 are exposed when they open an attacker-crafted AC1018 (R2004) DWG file. Exploitation requires local interaction because the malicious file must be opened by the user.

2

What does an attacker need to exploit it?

An attacker needs to create a malicious AC1018 DWG file with crafted startOffset values. No prior privileges are required, but a user must open the file in the affected application.

3

What can be done if an update cannot be applied immediately?

Do not open untrusted or unsolicited AC1018 (R2004) DWG files in affected LibreCAD installations. Treat DWG files from unverified sources as potentially malicious until the installation can be updated.

4

How can I determine whether a file may trigger the issue?

The vulnerable parsing path applies to AC1018 (R2004) DWG files and malicious startOffset values. Determining whether an individual file contains exploit values requires inspecting its DWG page-offset data; opening it in an affected LibreCAD version may trigger the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203