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.
Published: 2026-10-14
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

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.

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

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 yet.

History

Tue, 20 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 14 Oct 2026 14:30:00 +0000

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'}


Subscriptions

Librecad Libdxfrw Librecad
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T01:07:40.851Z

Reserved: 2026-10-14T13:07:22.235Z

Link: CVE-2026-110606

cve-icon Vulnrichment

Updated: 2026-10-20T01:07:34.357Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-14T15:17:12.303

Modified: 2026-10-20T02:17:08.997

Link: CVE-2026-110606

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T11:00:07Z

Weaknesses