Buffer overflow in Squirrel-Lang Squirrel
CVE-2026-2661
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.
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.003, 18.0th 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-346459 | Squirrel sqobject.h operator heap-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-346459 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #753165 | albertodemichelis squirrel master-branch Heap-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/albertodemichelis/squirrel/issues/310 (issue-tracking, Exploit, Issue Tracking)
- github.com/oneafter/0122/blob/main/i310/repro (Exploit, exploit)