CVE-2021-35331 in Tcl
In Tcl 8.6.11, a format string vulnerability in nmakehlp.c might allow code execution via a crafted file. NOTE: multiple third parties dispute the significance of this finding
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Tcl | Tcl | 8.6.11 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Tcl 8.6.11, a format string vulnerability in nmakehlp.c might allow code execution via a crafted file. NOTE: multiple third parties dispute the significance of this finding
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-35331 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-077048-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2021-07-05 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-134: CWE-134
Related attack patterns (CAPEC)
CAPEC-67 String Format Overflow in syslog() via CWE-134
CAPEC-135 Format String Injection via CWE-134
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A format string vulnerability in nmakehlp.c of Tcl 8.6.11 could potentially allow code execution through a crafted file. Multiple third parties dispute the significance of this finding.
An attacker could craft a specific file that, when processed by the vulnerable version of Tcl, could exploit the format string vulnerability to execute arbitrary code.
Questions
What is CVE-2021-35331?
A format string vulnerability in nmakehlp.c of Tcl 8.6.11 could potentially allow code execution through a crafted file. Multiple third parties dispute the significance of this finding.
What is the CVSS score for CVE-2021-35331?
CVE-2021-35331 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.7%.
Is CVE-2021-35331 actively exploited?
No confirmed active exploitation of CVE-2021-35331 as of 2026-09-25.
How do I remediate CVE-2021-35331?
Priority: MEDIUM.
What systems are affected by CVE-2021-35331?
CVE-2021-35331 affects Tcl Tcl.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Tcl","product":"Tcl","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.