Home / Squirrel-lang / Squirrel / CVE-2021-41556
CVE-2021-41556: is it exploited, and which versions of Squirrel-lang Squirrel are affected and fixed?
CVE-2021-41556 is an out-of-bounds read vulnerability in Squirrel-lang Squirrel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: squirrel through 2.2.5, squirrel from 3.0 through 3.1, fedora 35 and 1 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (10.0, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:46 UTC.
What is CVE-2021-41556?
sqclass.cpp in Squirrel through 2.2.5 and 3.x through 3.1 allows an out-of-bounds read (in the core interpreter) that can lead to Code Execution. If a victim executes an attacker-controlled squirrel script, it is possible for the attacker to break out of the squirrel script sandbox even if all dangerous functionality such as File System functions has been disabled. An attacker might abuse this bug to target (for example) Cloud services that allow customization via SquirrelScripts, or distribute malware through video games that embed a Squirrel Engine.
From the CVE record by mitre, last updated May 29, 2026, 18:48 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| squirrel-lang | squirrel | through 2.2.5 | application |
| squirrel-lang | squirrel | from 3.0 through 3.1 | application |
| fedoraproject | fedora | 35 | operating system |
| fedoraproject | fedora | 36 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:08 UTC.
How severe is CVE-2021-41556?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | CISA-ADP |
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-41556 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, May 29, 2026)
- EPSS
- 2.92% probability of exploitation activity in the next 30 days, percentile 87.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
- https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98 x_refsource_MISC
- http://www.squirrel-lang.org/#download x_refsource_MISC
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape/ x_refsource_MISC
- FEDORA-2022-e81c0db364 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-e139f256f6 vendor-advisory, x_refsource_FEDORA
- https://www.sonarsource.com/blog/squirrel-vm-sandbox-escape/ exploit
When was it published, and where is the official record?
- Reserved
- September 22, 2021
- Published
- July 28, 2022, 20:41 UTC
- CVE record updated
- May 29, 2026, 18:48 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:08 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:46 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Squirrel?
- May 4, 2022CVE-2022-30292 Squirrel-lang Squirrel: out-of-bounds write (memory corruption)
Questions about CVE-2021-41556
Is CVE-2021-41556 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 2.92% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Squirrel-lang Squirrel are affected by CVE-2021-41556?
squirrel through 2.2.5, squirrel from 3.0 through 3.1, fedora 35 and fedora 36, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-41556?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2021-41556?
Critical (10.0, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-41556?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.