Description
A security flaw has been discovered in Squirrel up to 3.2. Impacted is the function ReadObject of the file squirrel/sqobject.cpp of the component Cnut File Handler. Performing a manipulation results in heap-based buffer overflow. The attack is only possible with local access. 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-365602 | Squirrel Cnut File sqobject.cpp ReadObject heap-based overflow vdb-entry technical-description
- VDB-365602 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #814826 | albertodemichelis squirrel 3.2 Heap-based Buffer Overflow third-party-advisory
- https://github.com/albertodemichelis/squirrel/issues/327 issue-tracking
- https://github.com/biniamf/pocs/tree/main/squirrel-sqobject-readobject-neg-len-oob exploit