{"answers":{"affected":"1 open source package ship an affected version, including librecad/librecad.","exploited":"There is no known exploitation of CVE-2026-135294 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"Update LibreCAD from your Linux distribution or vendor: the fixed builds are listed above.","what":"CVE-2026-135294 is a medium-severity memory corruption vulnerability in LibreCAD, published on 23 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-135294 and fix it if it is affected.\n\nWhat it is: CVE-2026-135294 is a medium-severity memory corruption vulnerability in LibreCAD, published on 23 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-135294 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected packages and fixed versions:\n- librecad/librecad (GitHub): affected all versions up to 2.2.1.6; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-135294/ (Markdown: https://insights.sbomify.com/CVE-2026-135294/index.md)","id":"CVE-2026-135294","markdown":"https://insights.sbomify.com/CVE-2026-135294/index.md","name":"CVE-2026-135294","record":{"aliases":["DEBIAN-CVE-2026-135294","GHSA-485x-j2jj-35v3","UBUNTU-CVE-2026-135294","openSUSE-SU-2026:12665-1"],"analysis":{"component_type":"desktop_application","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CAD software","requires_auth":"none","requires_specific_call":false,"summary":"A crafted DXF file opened in LibreCAD can corrupt heap memory and crash the application.","user_interaction":"required","vuln_class":"memory_corruption","vulnerable_functions":["RS_FilterDXF1::readFileInBuffer()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in RS_FilterDXF1::readFileInBuffer() caused by unvalidated truncation of the 64-bit file size. Attackers can persuade users to open a crafted DXF file sized 0xFFFFFFF8 bytes, writing a NUL byte before an 8-byte buffer to corrupt heap metadata and crash the application.","ecosystems":["GitHub","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-11-25","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-25T13:39:43Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-135294","stars":0,"title":"LibreCAD through 2.2.1.6: unbounded DXF file size cast to int — wrapped buffer/read length. ASan+UBSan differential: allocation-size-too-big on vuln, rejection on fixed"}],"tier":"poc_unverified"},"has_fix":true,"headline":"LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()","id":"CVE-2026-135294","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub","product":null,"products":[],"type":"memory_corruption","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":"librecad/librecad","n_packages":2,"n_references":4,"n_vendor_status":1,"next":{"headline":"FontForge through 20251009 Heap Out-of-Bounds Write via PCF Encodings Table","id":"CVE-2026-135295"},"nickname":null,"packages":[{"ecosystem":"GitHub","fixed":[],"introduced":["0"],"last_affected":["2.2.1.6"],"name_kind":null,"package":"librecad/librecad","purl":"pkg:github/librecad/librecad","purl_source":"cna","scope":"upstream","source":"CVE-2026-135294"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.2.1.6-3.1"],"introduced":["0"],"last_affected":[],"name_kind":"binary","package":"librecad","purl":"pkg:rpm/opensuse/librecad","purl_source":"advisory","scope":"distro","source":"openSUSE-SU-2026:12665-1"}],"prev":{"headline":"Contiki-NG through 5.2 Infinite Loop via MPL Control Message in icmp_in()","id":"CVE-2026-135293"},"products":["LibreCAD"],"published":"2026-11-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-23","vendor_status":[{"n_packages":1,"name":"openSUSE","packages":[{"fixed":["2.2.1.6-3.1"],"name":"librecad","name_kind":"binary","purl":"pkg:rpm/opensuse/librecad","sources":["openSUSE-SU-2026:12665-1"],"status":"fixed"}],"release":"Tumbleweed","scope":"distro","status":"fixed","statuses":{"fixed":1},"vendor":"opensuse"}],"vendors":["LibreCAD"]},"summary":"A crafted DXF file opened in LibreCAD can corrupt heap memory and crash the application.","url":"https://insights.sbomify.com/CVE-2026-135294/"}