CVE-2026-110606

LibreCAD libdxfrw through LC2.2.0 Stack Out-of-Bounds Read via dwgReader18::readFileHeader

Published Oct 14, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
LibreCAD libdxfrw through LC2.2.0 (LibreCAD through 2.2.1.5) contains a stack-based out-of-bounds read vulnerability in dwgReader18::readFileHeader() caused by calling strlen on non-NUL-terminated buffers. Attackers can supply a crafted AC1018, AC1024 or AC1027 DWG file without NUL bytes in the decrypted header to read adjacent stack memory and crash the process.

Analysis

AI-generated

Technical impact

LibreCAD and its libdxfrw library suffer a stack-based out-of-bounds read when parsing the header of a DWG file. The flaw arises in dwgReader18::readFileHeader() when a non‑NUL‑terminated string is passed to strlen, allowing an attacker’s crafted AC1018, AC1024 or AC1027 DWG file to trigger a read beyond the intended buffer. The result is a crash of the consuming application, disrupting service without exposing data or permitting code execution. This vulnerability is listed under CWE-125.

Affected Systems

All installations of LibreCAD up to version 2.2.1.5 and libdxfrw up to LC2.2.0 are affected. The issue resides in the DWG file parsing component of these products.

Risk and Exploitability

The CVSS score of 4.8 reflects moderate risk. EPSS score is < 1%, and it is not listed in CISA’s KEV catalog. Attackers must supply a malicious DWG file to the targeted application, making this a local or privilege‑based vulnerability rather than a remote exploit. If an attacker gains the ability to supply such files—directly or via a user—they can cause denial of service by crashing LibreCAD. The exploit requires only the presence of the vulnerable library and a crafted file, with no network interaction needed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreCAD to 2.2.1.6 or later, which includes the libdxfrw patch that eliminates the out‑of‑bounds read.
  • Replace the bundled libdxfrw library with the fixed build from the LibreCAD repository.
  • Limit exposure by preventing untrusted users from loading DWG files; implement file‑type validation and sandboxing for the DWG import routine.

Generated by OpenCVE AI on October 15, 2026 at 21:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description LibreCAD libdxfrw through LC2.2.0 (LibreCAD through 2.2.1.5) contains a stack-based out-of-bounds read vulnerability in dwgReader18::readFileHeader() caused by calling strlen on non-NUL-terminated buffers. Attackers can supply a crafted AC1018, AC1024 or AC1027 DWG file without NUL bytes in the decrypted header to read adjacent stack memory and crash the process.
Title LibreCAD libdxfrw through LC2.2.0 Stack Out-of-Bounds Read via dwgReader18::readFileHeader
First Time appeared Librecad
Librecad libdxfrw
Librecad librecad
Weaknesses CWE-125
CPEs cpe:2.3:a:librecad:libdxfrw:*:*:*:*:*:*:*:*
cpe:2.3:a:librecad:librecad:*:*:*:*:*:*:*:*
Vendors & Products Librecad
Librecad libdxfrw
Librecad librecad
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 20, 2026, 1:07 AM
Reserved
Oct 14, 2026, 1:07 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 20, 2026, 2:17 AM