Description
A security flaw has been discovered in Squirrel up to 3.2. This affects the function SQObjectPtr::operator in the library squirrel/sqobject.h. The manipulation results in heap-based buffer overflow. The attack needs to be approached locally. The exploit has been released to the public and may be used for attacks. 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-346459 | Squirrel sqobject.h operator heap-based overflow vdb-entry technical-description
- VDB-346459 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #753165 | albertodemichelis squirrel master-branch Heap-based Buffer Overflow third-party-advisory
- https://github.com/albertodemichelis/squirrel/issues/310 issue-tracking
- https://github.com/oneafter/0122/blob/main/i310/repro exploit