CVE-2026-135296: LibreCAD through 2.2.1.6 Improper Array Index Validation via PIC Import Plugin processFilePic()
LibreCAD through 2.2.1.6 contains an out-of-bounds access vulnerability in picPunto::processFilePic() of the PIC import plugin that allows attackers to read past QStringList bounds via coordinate tokens lacking commas. Attackers can persuade a user to import a crafted PIC file with malformed line, circle, box or text records to crash the application and potentially modify memory.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of LibreCAD through 2.2.1.6 are exposed when they import a crafted PIC file using the PIC import plugin. Exploitation requires persuading a user to open or import the malicious file.
What does a malicious PIC file need to contain?
The file must contain malformed line, circle, box, or text records with coordinate tokens that lack commas. This can cause processFilePic() to read beyond QStringList bounds.
Is the vulnerability remotely exploitable without user interaction?
No. The provided vector identifies local attack access and requires user interaction; an attacker must get a user to import a crafted PIC file.
What can be done before an update is applied?
Avoid importing PIC files from untrusted sources, particularly files containing malformed coordinate records. Review PIC files before import where operationally feasible.
How can an organization identify potentially affected systems?
Identify installations of LibreCAD at version 2.2.1.6 or earlier and determine whether users import PIC files through the PIC import plugin. Systems that do not use PIC imports are not exposed through the described attack path.