Description
A vulnerability was determined in Squirrel up to 3.2. Affected by this vulnerability is the function SQFuncState::PopTarget of the file src/squirrel/squirrel/sqfuncstate.cpp. Executing a manipulation of the argument _target_stack can lead to out-of-bounds read. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. 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-346457 | Squirrel sqfuncstate.cpp PopTarget out-of-bounds vdb-entry technical-description
- VDB-346457 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #753163 | albertodemichelis squirrel master-branch Heap-based Buffer Overflow third-party-advisory
- https://github.com/albertodemichelis/squirrel/issues/311 issue-tracking
- https://github.com/oneafter/0122/blob/main/i311/repro exploit