Bug#1154008: librecad: CVE-2026-126497

Salvatore Bonaccorso carnil at debian.org
Sun Nov 15 06:26:53 GMT 2026


Source: librecad
Version: 2.2.0.2-3
X-Debbugs-CC: team at security.debian.org
Severity: important
Tags: security upstream
Forwarded: https://github.com/LibreCAD/LibreCAD/issues/3256

Hi,

The following vulnerability was published for librecad.

CVE-2026-126497[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-126497
    https://www.cve.org/CVERecord?id=CVE-2026-126497
[1] https://github.com/LibreCAD/LibreCAD/issues/3256

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



More information about the debian-science-maintainers mailing list