CVE-2026-8261

Squirrel sqobject.cpp Load heap-based overflow

Published May 11, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the SQFunctionProto::Load routine within squirrel/sqobject.cpp and triggers a heap‑based buffer overflow when handling certain input. The flaw is a classic out‑of‑bounds write (CWE‑119, CWE‑120, CWE‑122) that can corrupt memory and potentially lead to arbitrary code execution or process crash, but only within the context of the running process. The impact is therefore confined to local execution on a system where the Squirrel interpreter is run, and it does not expose directly any network‑accessible attack surface.

Affected Systems

All versions of the Squirrel project up to and including 3.2 are affected. Users running the base interpreter or any applications that embed Squirrel 3.2 or earlier should consider themselves vulnerable, as the flaw lies in the core function that loads prototype information.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity, reflecting that the vulnerability requires local privilege and does not grant widespread network damage. The EPSS score of <1% (approximately 0.00021) indicates a very low probability of exploitation in the wild, and the lack of a KEV listing suggests that there are no widespread exploitation reports yet. However, the vulnerability has been publicly disclosed and is available in proof‑of‑concept repositories, meaning a local attacker who can run code in the context of the Squirrel interpreter could exploit it with the known input vectors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Squirrel engine to version 3.3 or later once the vendor releases a fix.
  • If an upgrade is not immediately possible, strictly restrict local user access to the Squirrel interpreter to trusted administrators only.
  • Keep all input data sanitized and avoid loading untrusted prototype definitions when possible.
  • Monitor system logs for abnormal heap or security crashes that could indicate exploitation attempts.

Generated by OpenCVE AI on May 19, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Albertodemichelis
Albertodemichelis squirrel
Vendors & Products Albertodemichelis
Albertodemichelis squirrel
Type Values Removed Values Added
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.
Title Squirrel sqobject.cpp Load heap-based overflow
Weaknesses CWE-119
CWE-122
References
Metrics cvssV2_0

{'score': 4.6, 'vector': 'AV:L/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.9, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
May 11, 2026, 2:26 PM
Reserved
May 10, 2026, 3:23 PM
Status
Deferred
Published
May 11, 2026, 2:16 AM
Modified
Jul 23, 2026, 8:10 PM
Severity
Moderate
Public date
May 11, 2026, 1:30 AM