Skip to main content

LibreCAD CVE-2026-135296

| EUVDEUVD-2026-133235 MEDIUM
Improper Validation of Array Index (CWE-129)
2026-11-23 disclosure@vulncheck.com GHSA-2cmg-jf5c-6g8p
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed PIC file
  2. Delivery
    Persuade user to import via PIC plugin
  3. Exploit
    Comma-less coordinate token split on ','
  4. Execution
    Out-of-bounds QStringList.at() read
  5. Impact
    Application crash / memory modification

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Requires the victim to actively import an attacker-supplied PIC file through LibreCAD's PIC import plugin (picfile); the file must contain a malformed line, circle, box or text record whose coordinate token lacks a comma, so that split(',') yields fewer than two elements and the subsequent .at(1)/.at(2) access runs past the QStringList bounds. Limiting factors: exploitation is local (AV:L) and passive-user-interaction-gated (UI:P) - there is no remote or unauthenticated-service trigger; the victim must open the crafted file, and the affected code path only runs when the optional PIC import feature is used. No authentication is required (PR:N), but user action is mandatory.

Impact

Signals point to a moderate, social-engineering-dependent issue rather than a top-tier emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, score 6.9) shows a local attack surface requiring the victim to import a file, with impact concentrated on availability (VA:H application crash) and only limited integrity (VI:L), and no confidentiality impact (VC:N) - consistent with CWE-129 out-of-bounds array access. No EPSS probability and no KEV status were supplied, and no exploit reference appears in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today Decision label is 'this_month', i.e. a planned remediation priority, not act_now/emergency. The description's 'potentially modify memory' phrasing (reflected as VI:L) hints the out-of-bounds access could go beyond a clean crash, but the source evidence only shows an unchecked QStringList.at(1)/at(2) read on comma-less tokens, so memory modification is not demonstrated as code execution and should not be treated as confirmed RCE. Net: real but manageable priority, gated by required user interaction and a niche product footprint; note the 'Denial Of Service' tag understates the VI:L integrity angle.

Exploit ScenarioDerived

An attacker crafts a malformed PIC file whose line, circle, box or text record contains a coordinate token with no comma, then persuades a LibreCAD user to open/import it through the PIC import plugin. When processFilePic() splits the token on ',' and accesses index 1 (or 2) without a size check, LibreCAD reads past the QStringList bounds, crashing the application and potentially modifying memory. No public exploit was identified at time of analysis, though the upstream fix commits publicly reveal the exact trigger.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 23, 2026

An out-of-bounds access flaw in LibreCAD's optional PIC import plugin (picPunto::processFilePic in plugins/picfile/picfile.cpp) lets a crafted PIC file drive the parser past the end of a QStringList when a line, circle, box or text record carries a coordinate token without a comma, so split(',') returns fewer than two elements and the following .at(1)/.at(2) access runs out of bounds. Affected are LibreCAD builds through 2.2.1.6 that use the PIC import feature; the attacker must persuade a victim to import the malicious file, so exploitation is local and gated on user interaction. Impact in the assessed vector is availability-weighted (A:H, I:L, C:N): the imported file crashes the application and may allow limited memory modification, and no public exploit code or confirmed active exploitation was identified at time of analysis.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. LibreCAD has corrected the defect in commits 281a8a4c83884ae1e8c9aa3436d87184c0b17ea7 and 40957132b87f3c429d96072280f2221b633044cd (pull request https://github.com/LibreCAD/LibreCAD/pull/3286), which introduce a readCoordinates() helper that rejects coordinate tokens lacking a comma and adds record-length guards; deployments should move to a LibreCAD build that contains these commits, since 2.2.1.6 and earlier are confirmed vulnerable and no tagged release incorporating the fix is confirmed in the available data. Where an upgrade is not immediately possible, the practical control is procedural: the flaw is only reachable through the optional PIC import plugin, so block import of PIC files from untrusted sources (for example via email attachment filtering and endpoint policy on .pic files) and instruct users not to open PIC drawings received from third parties, accepting that this restricts legitimate PIC interoperability. Rebuilding the plugin from the upstream commit is an alternative for teams that must keep PIC import working; note that the patched parser rejects malformed records with a "format error" dialog rather than attempting to interpret them, which changes behavior for previously tolerated non-conforming files. Per the vendor advisory at https://www.vulncheck.com/advisories/librecad-through-2.2.1.6-improper-array-index-validation-via-pic-import-plugin-processfilepic, no other mitigation is documented.

Affected VersionsENISA

LibreCAD 0 ≤2.2.1.6

Affected Packages

euvd librecad no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LibreCAD is a cross-platform 2D CAD application written in C++/Qt; the PIC format plugin parses textual drawing records (lines, circles, boxes, text) whose coordinate pairs are conventionally written as "x,y". The parser assumed that structure and called QString::split(',') inline, indexing element 0 and element 1 without verifying the resulting list length, which is the CWE-129 improper-validation-of-array-index pattern. When a record's coordinate token lacks a comma, the list has a single element and the subsequent Qt list access reads past the container's bounds, yielding undefined behavior that manifests as an application crash and, per the report, possible memory modification. The supplied upstream diff confirms the mechanism and the fix shape: a readCoordinates() helper that rejects lists with fewer than two elements and raises a "format error" dialog, plus additional record-length guards (the box record check raised from fewer than 11 to fewer than 12 elements, and quoted-text parsing now validates the split results before indexing). Triggering requires the victim to open an attacker-supplied PIC file through the import plugin; there is no service or network-facing component in this code path.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.1 MEDIUM

File-import trigger makes it local (AV:L) and user-interaction-required (UI:R); no privileges needed (PR:N); impact is a crash (A:H) with possible limited memory modification (I:L) and no info disclosure (C:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
free open-source 2D CAD tool, niche install base, optional PIC plugin
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy