CVE-2026-8261 Details
Description
A vulnerability was determined in Squirrel up to 3.2. This affects the function SQFunctionProto::Load of the file squirrel/sqobject.cpp. This manipulation causes heap-based buffer overflow. The attack is restricted to local execution. 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.
A heap-based buffer overflow vulnerability has been identified in Squirrel versions through 3.2. The issue arises in the SQFunctionProto::Load function within the file squirrel/sqobject.cpp. The vulnerability is caused by the function reading count fields from the bytecode stream without proper validation. This oversight allows for an integer overflow in the _FUNC_SIZE macro, leading to a significant underallocation of memory. The vulnerability requires local execution to exploit and has been publicly disclosed.
It is recommended to replace the _FUNC_SIZE macro with overflow-checked arithmetic or to cap each count field to a reasonable maximum after reading from the bytecode stream.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 11, 2026CISA-ADP
Assessed May 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/albertodemichelis/squirrel/issues/326 | CISA-ADP | ExploitIssue TrackingTechnical AnalysisVendor |
| https://vuldb.com/submit/809904 | CISA-ADP | Permission Required |
| https://github.com/albertodemichelis/squirrel/issues/326 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/biniamf/pocs/tree/main/squirrel-sqobject-functionproto-load-intovf-lineinfos | [email protected] | Exploit |
| https://vuldb.com/submit/809904 | [email protected] | Permission Required |
| https://vuldb.com/vuln/362558 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/362558/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Squirrel | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | New CVE Received | [email protected] |
Volerion