{"id":"UBUNTU-CVE-2026-110606","details":"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.","modified":"2026-10-17T12:59:52.483110631Z","published":"2026-10-15T00:00:00Z","upstream":["CVE-2026-110606"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-110606"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-110606"},{"type":"REPORT","url":"https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.5/libraries/libdxfrw/src/intern/dwgreader18.cpp#L248"},{"type":"REPORT","url":"https://github.com/LibreCAD/LibreCAD/commit/abd1f4a8e32dbd871c986086227502217200cd4b"},{"type":"REPORT","url":"https://github.com/LibreCAD/LibreCAD/issues/2554"},{"type":"REPORT","url":"https://github.com/LibreCAD/libdxfrw/blob/LC2.2.0/src/intern/dwgreader18.cpp#L248"},{"type":"REPORT","url":"https://github.com/LibreCAD/libdxfrw/commit/0c5595930b20917a40ed7c188475eaca624b8ce9"},{"type":"REPORT","url":"https://hackmd.io/@haind-pwn/libdxfrw-dwg-header-oob-read"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/librecad-libdxfrw-through-lc2-2.0-stack-out-of-bounds-read-via-dwgreader18-readfileheader"}],"affected":[{"package":{"name":"librecad","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/librecad?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4-1build1","2.0.8-1","2.0.9-2","2.0.9-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"librecad","binary_version":"2.0.9-2ubuntu0.1~esm1"},{"binary_version":"2.0.9-2ubuntu0.1~esm1","binary_name":"librecad-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110606.json"}},{"package":{"name":"librecad","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/librecad?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-1","2.1.2-1ubuntu0.1~esm1","2.1.2-1ubuntu0.1~esm2","2.1.2-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"librecad","binary_version":"2.1.2-1ubuntu0.1~esm2"},{"binary_name":"librecad-data","binary_version":"2.1.2-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110606.json"}},{"package":{"name":"librecad","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/librecad?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.3-1.2","2.1.3-1.2build1","2.1.3-1.2+deb10u1build0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"librecad","binary_version":"2.1.3-1.2+deb10u1build0.20.04.1"},{"binary_name":"librecad-data","binary_version":"2.1.3-1.2+deb10u1build0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110606.json"}},{"package":{"name":"librecad","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/librecad?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.3-1.3","2.1.3-3"],"ecosystem_specific":{"binaries":[{"binary_name":"librecad","binary_version":"2.1.3-3"},{"binary_version":"2.1.3-3","binary_name":"librecad-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110606.json"}},{"package":{"name":"librecad","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/librecad?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-1","2.2.0.2-1","2.2.0.2-1build1","2.2.0.2-1build2","2.2.0.2-1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"librecad","binary_version":"2.2.0.2-1build3"},{"binary_name":"librecad-data","binary_version":"2.2.0.2-1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110606.json"}},{"package":{"name":"librecad","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/librecad?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0.2-1build3","2.2.0.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"librecad","binary_version":"2.2.0.2-3"},{"binary_name":"librecad-data","binary_version":"2.2.0.2-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110606.json"}},{"package":{"name":"librecad","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/librecad?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0.2-1build3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.0.2-1build3","binary_name":"librecad"},{"binary_name":"librecad-data","binary_version":"2.2.0.2-1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110606.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}