---
id: CVE-2026-110606
title: >-
  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
summary: >-
  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 …
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-125
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T15:17:12.303'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110606'
references:
  - url: >-
      https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.5/libraries/libdxfrw/src/intern/dwgreader18.cpp#L248
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/LibreCAD/LibreCAD/commit/abd1f4a8e32dbd871c986086227502217200cd4b
    label: disclosure@vulncheck.com
  - url: 'https://github.com/LibreCAD/LibreCAD/issues/2554'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/LibreCAD/libdxfrw/blob/LC2.2.0/src/intern/dwgreader18.cpp#L248
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/LibreCAD/libdxfrw/commit/0c5595930b20917a40ed7c188475eaca624b8ce9
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@haind-pwn/libdxfrw-dwg-header-oob-read'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/librecad-libdxfrw-through-lc2-2.0-stack-out-of-bounds-read-via-dwgreader18-readfileheader
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.003Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
