LibreCADにDWGファイルを開くと任意コードを実行される恐れのある脆弱性
Summary
LibreCAD 2.2.1.6以前には、同梱のlibdxfrwでDWGファイルを読み込む際にヒープ領域の範囲外へ書き込む脆弱性があります。細工されたDWGファイルを開くとアプリケーションが異常終了し、任意のコードを実行される可能性があります。修正版の有無は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
LibreCAD 2.2.1.6以前には、同梱のlibdxfrwでDWGファイルを読み込む際にヒープ領域の範囲外へ書き込む脆弱性があります。細工されたDWGファイルを開くとアプリケーションが異常終了し、任意のコードを実行される可能性があります。修正版の有無は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LibreCADLibreCAD |
≤ 2.2.1.6→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-126497 librecad No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-126497 librecad No fixed version in this record
Original description The description as published by the source.
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.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- report github.com
- web github.com
- web github.com