← Back to browse · API

CVE-2021-41556

Severity
CRITICAL
CVSS
10.0
EPSS
0.02636
Risk score
40.92
CISA KEV
No
PoC
No
Published
2022-07-28
Modified
2026-05-29
First seen
2026-08-07
Aliases
EUVD-2021-28574, GHSA-CM28-MC8H-9H49
Products
n/a:n/a n/a
Sources
euvd EUVD-2021-28574

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.

References