Buffer overflow in Squirrel-Lang Squirrel
CVE-2026-2659
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 14.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Squirrel-Lang Squirrel
- Squirrel — versions 3.0, 3.1, 3.2
Weakness classification (CWE)
References
- VDB-346457 | Squirrel sqfuncstate.cpp PopTarget out-of-bounds (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-346457 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #753163 | albertodemichelis squirrel master-branch Heap-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/albertodemichelis/squirrel/issues/311 (issue-tracking, Exploit, Issue Tracking)
- github.com/oneafter/0122/blob/main/i311/repro (Exploit, exploit)