Skip to main content

Squirrel EUVDEUVD-2026-29017

| CVE-2026-8261 LOW
Buffer Overflow (CWE-119)
2026-05-11 cna@vuldb.com GHSA-r4m3-922m-v5vr
2.0
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Squirrel function prototype
  2. Delivery
    Place in filesystem or provide via API
  3. Exploit
    Application loads function prototype
  4. Execution
    SQFunctionProto::Load parses oversized lineinfos field
  5. Persist
    Heap buffer overflow
  6. Impact
    Memory corruption or code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local attacker must be able to either (1) cause the vulnerable Squirrel application to load a malicious Squirrel function prototype object from a file, network source, or API input, or (2) directly invoke SQFunctionProto::Load with crafted bytecode containing oversized lineinfos metadata. The vulnerability is triggered when SQFunctionProto::Load processes function prototype data without bounds validation on the lineinfos field. No authentication is required - any local process can trigger this if Squirrel is exposed in the application's API. The attack is NOT limited to default configurations; any application that deserializes or loads Squirrel function prototypes from untrusted or attacker-influenced sources is vulnerable. Conversely, exploitation is PREVENTED if: (1) Squirrel is only used to execute locally-authored, trusted scripts with no external bytecode loading, (2) the application never calls SQFunctionProto::Load explicitly, or (3) the application runs Squirrel in a strict sandbox that prevents local process execution.

Impact

This vulnerability presents LOW immediate operational risk despite public exploit availability due to several mitigating factors: (1) CVSS 2.0 is significantly below typical critical/high thresholds, reflecting local attack vector restriction; (2) CVSS vector shows limited scope impact (SC:N, SI:N, SA:N) with only low impact to confidentiality, integrity, and availability; (3) exploitation requires local execution capability, not remote network access; (4) EPSS score not provided, but the local-only constraint and limited scope suggest low real-world exploitation probability at scale. However, PRACTICAL RISK increases for specific deployment scenarios: embedded systems, IoT devices, or sandboxed environments where local attackers have code execution capability, and for applications that deserialize untrusted Squirrel bytecode or function objects from external sources. The public POC and vendor non-response indicate this is not a zero-day, but actual exploitation depends entirely on whether applications using Squirrel process attacker-controlled function prototypes. Organizations should prioritize based on threat model: if Squirrel is used only for trusted, locally-developed scripts, risk is negligible; if it processes external bytecode, immediate patching becomes important.

Exploit ScenarioDerived

An attacker with local access to a system running a Squirrel-embedded application crafts a malicious Squirrel function prototype (bytecode or serialized object) containing oversized lineinfos data. The attacker either places this in a file the application loads, or if Squirrel is exposed via a local API, directly invokes SQFunctionProto::Load with the crafted input. The heap buffer overflow corrupts adjacent memory, potentially enabling privilege escalation or code execution at the privilege level of the Squirrel process. A public proof-of-concept demonstrates this attack against the specific lineinfos parsing logic in SQFunctionProto::Load.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Heap-based buffer overflow in Squirrel up to version 3.2 within the SQFunctionProto::Load function allows local attackers to cause memory corruption with limited confidentiality, integrity, and availability impact. Publicly available exploit code exists for this vulnerability, and the vulnerability exhibits low CVSS score (2.0) due to local-only attack vector and minimal scope, though the disclosure and POC availability increase practical risk for embedded and scripting environments using Squirrel.

RemediationAI

Upgrade Squirrel to a version later than 3.2 once available from the upstream project. As of this analysis, the project albertodemichelis/squirrel has been informed via issue #326 but has not yet released a patch. Monitor https://github.com/albertodemichelis/squirrel/releases for updates. As immediate compensating controls: restrict local access to systems running Squirrel applications to trusted users only; disable or sandbox Squirrel script execution for untrusted sources; implement strict input validation on any externally-sourced Squirrel bytecode or function prototypes before loading; consider disabling dynamic function loading if not required by your application's functionality. These controls mitigate local attack surface but do not address the underlying memory safety issue.

Affected VersionsENISA

Squirrel 3.2
Squirrel 3.0
Squirrel 3.1

Affected Packages

euvd squirrel no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Squirrel is a lightweight scripting language commonly embedded in applications. The vulnerability resides in squirrel/sqobject.cpp within the SQFunctionProto::Load function, which handles deserialization or loading of function prototype objects. The heap-based buffer overflow (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) occurs when this function processes untrusted input without proper bounds checking, allowing crafted data to overflow heap-allocated structures. The CVSS vector (AV:L/AC:L/AT:N/PR:N/UI:N) indicates local execution requirement with no special access privileges or user interaction needed, suggesting the vulnerability can be triggered through local file manipulation or local script execution within applications embedding Squirrel.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.0 LOW
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

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Related Vulnerabilities in Squirrel Buffer Overflow Vulnerabilities

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy