CVE-2021-41556
published critical CVSS 3.1 · 10.0squirrel: out-of-bounds read in core interpreter allows sandbox escape leads to code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrelaarch64 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirreli586 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrelppc64le | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrels390x | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrelx86_64 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-develaarch64 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-develi586 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-develppc64le | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-devels390x | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-develx86_64 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-devel-staticaarch64 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-devel-statici586 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-devel-staticppc64le | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-devel-statics390x | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-devel-staticx86_64 | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-docnoarch | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | squirrel-examplesnoarch | Advisory build | 3.0.7-bp154.3.3.1 | OPENSUSE-SU-2023:0080-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrelaarch64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrelppc64le | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrels390x | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrelx86_64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-develaarch64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-develppc64le | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-devels390x | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-develx86_64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-devel-staticaarch64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-devel-staticppc64le | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-devel-statics390x | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-devel-staticx86_64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-docaarch64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-docppc64le | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-docs390x | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-docx86_64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-examplesaarch64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-examplesppc64le | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-exampless390x | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | squirrel-examplesx86_64 | Advisory build | 3.2-1.1 | OPENSUSE-SU-2024:12611-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-125 CWE-125 Out-of-bounds Read
References
6- http://www.squirrel-lang.org/#download
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape/
- https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98
- FEDORA-2022-e81c0db364 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BV7SJJ44AGAX4ILIVPREIXPJ2GOG3FKV/
- FEDORA-2022-e139f256f6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M3FQILX7UUEERSDPMZP3MKGTMY2E7ESU/
- https://www.sonarsource.com/blog/squirrel-vm-sandbox-escape/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2188d4a201030f0d5eab76e58793f9f721cf6fcd50a0650bc92462464b84cde5
- Ingested
- 23 Sep 2026, 07:56:14 UTC
- Source record
- Official CVE record