Description
A vulnerability was found in Squirrel up to 3.2. This affects the function SQCompiler::Factor/SQCompiler::UnaryOP of the file squirrel/sqcompiler.cpp. Performing a manipulation results in uncontrolled recursion. The attack needs to be approached locally. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Squirrel | 3.0, 3.1, 3.2 | — |
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 | No fix yet | — |
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 | — |
References
- VDB-348274 | Squirrel sqcompiler.cpp UnaryOP recursion vdb-entry technical-description
- VDB-348274 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #761314 | albertodemichelis squirrel master-branch Uncontrolled Recursion third-party-advisory
- https://github.com/albertodemichelis/squirrel/issues/312 issue-tracking
- https://github.com/oneafter/0122/blob/main/i312/repro exploit