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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | squirrel3 | 3.1-8.2+deb13u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | squirrel3 | No fix yet | — |
| Ubuntu 26.04 LTS | squirrel3 | No fix yet | — |
| Ubuntu 25.10 | squirrel3 | No fix yet | — |
| Ubuntu 22.04 LTS | squirrel3 | No fix yet | — |
| Ubuntu 20.04 LTS | squirrel3 | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | squirrel3 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP4 | squirrel | 3.0.7-bp154.3.3.1 | openSUSE-SU-2023:0080-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | squirrel | 3.2-1.1 | openSUSE-SU-2024:12611-1 |
| openSUSE Leap 15.4 | squirrel | 3.0.7-bp154.3.3.1 | openSUSE-SU-2023:0080-1 |
Advisories 2
- openSUSE-SU-2023:0080-1 Security update for squirrel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12611-1 squirrel-3.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026