Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
LibreCAD LibreCAD
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LibreCAD 2.2.1.6 及更早版本中,随附的 libdxfrw 库在 dwgReader18::parseDataPage() 函数中存在基于堆的越界写入漏洞。该漏洞源于对缓冲区大小和页面偏移量缺乏校验。攻击者可构造包含恶意 startOffset 值的 AC1018(R2004)格式 DWG 文件,当该文件被打开时,会触发 decompress18 函数将数据写入堆缓冲区之外,从而导致程序崩溃,并可能进一步引发远程代码执行。

CVSS 7.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-126497

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via dwgReader18::parseDataPage
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
LibreCAD LibreCAD 0 ~ 2.2.1.6 -

II. Public POCs for CVE-2026-126497

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-126497

请登录查看更多情报信息。

Other References for CVE-2026-126497 (5)

IV. Related Vulnerabilities