UBUNTU-CVE-2026-126497: Medium severity ubuntu/librecad vulnerability

Published Nov 12, 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

7 affected components
ubuntu/librecad*
ubuntu/librecad*
ubuntu/librecad*
ubuntu/librecad*
ubuntu/librecad*
ubuntu/librecad*
ubuntu/librecad*

Event History

Nov 12, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Users or systems running Ubuntu's LibreCAD package through version 2.2.1.6 are exposed when they open attacker-crafted AC1018 (R2004) DWG files.

2

What does an attacker need to exploit it?

An attacker needs to provide a malicious DWG file containing crafted startOffset values. Exploitation occurs when the file is opened by LibreCAD.

3

What can be done if an update is not immediately available?

Do not open untrusted AC1018 (R2004) DWG files, particularly files received from external or unverified sources. Restricting LibreCAD use to trusted drawing files reduces exposure.

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