Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Squirrel function prototype
-
DeliveryPlace in filesystem or provide via API
-
ExploitApplication loads function prototype
-
ExecutionSQFunctionProto::Load parses oversized lineinfos field
-
PersistHeap buffer overflow
-
ImpactMemory 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-29017
GHSA-r4m3-922m-v5vr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB