Skip to main content

Squirrel EUVDEUVD-2026-31813

| CVE-2026-9541 LOW
Heap-based Buffer Overflow (CWE-122)
2026-05-26 VulDB GHSA-w3m6-w27h-v4g9
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege access
  2. Delivery
    Craft malicious Cnut file with invalid object length
  3. Exploit
    Supply file to Squirrel-embedded application parser
  4. Execution
    Trigger heap-based buffer overflow in ReadObject (sqobject.cpp)
  5. Persist
    Corrupt adjacent heap memory
  6. Impact
    Achieve partial confidentiality, integrity, or availability impact

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation strictly requires local system access and at minimum low-privilege credentials, as confirmed by the CVSS:4.0 vector AV:L/PR:L. Remote exploitation is not possible under any configuration - the attack vector is inherently local. The attacker must be able to supply a malicious Cnut file to a running application that processes it through Squirrel's ReadObject function; applications that do not ingest external or user-controlled Cnut files are not exposed. No user interaction is required once the file reaches the parser. Exploitation is further bounded by the SSVC Automatable=No determination, meaning it cannot be scripted for mass targeting, and by the partial technical impact (VC:L/VI:L/VA:L), which means arbitrary code execution is not confirmed - the demonstrated impact is heap memory corruption with limited process-level effects. Non-default deployment: any Squirrel deployment that processes only internally generated, trusted Cnut files is not meaningfully exposed.

Impact

Multiple intelligence signals converge on a consistently low-risk assessment. The CVSS 4.0 score of 1.9 reflects a local attack vector (AV:L), low attack complexity (AC:L), low privilege requirement (PR:L), no user interaction (UI:N), and only partial impact across all three CIA pillars with no scope change - characteristics that substantially constrain real-world exploitability. EPSS corroborates this at 0.01% (2nd percentile), meaning fewer than 2% of known CVEs have a lower exploitation probability in current threat actor activity. The SSVC framework reinforces this: Exploitation=PoC (not active), Automatable=No, Technical Impact=Partial - meaning mass exploitation campaigns are not viable and impact is capped. The E:P modifier in the CVSS vector confirms the PoC is accounted for in scoring. No CISA KEV listing exists. The primary realistic risk is an insider or a compromised local account targeting applications that ingest externally sourced Cnut files. Despite the PoC's existence, this remains a low-priority finding for most organizations unless Squirrel is deployed in a context where untrusted Cnut files are routinely processed by privileged pipelines.

Exploit ScenarioDerived

A low-privilege local user on a system running an application that embeds the Squirrel scripting engine prepares a malformed Cnut file containing a crafted negative or oversized length field targeting the ReadObject function. The user supplies this file to the application - for example, by placing it in a directory monitored by a game modding loader or scripting pipeline - and upon parsing, the ReadObject function in sqobject.cpp writes beyond the bounds of a heap buffer, corrupting adjacent memory. A public proof-of-concept demonstrating this technique is available at https://github.com/biniamf/pocs/tree/main/squirrel-sqobject-readobject-neg-len-oob.

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 – Jun 08, 2026

Heap-based buffer overflow in Squirrel versions 3.0 through 3.2 allows a locally authenticated low-privilege attacker to corrupt heap memory by supplying a malicious Cnut file to the ReadObject function in sqobject.cpp. The impact is limited to partial confidentiality, integrity, and availability effects with no scope change, as confirmed by the CVSS 4.0 score of 1.9. A public proof-of-concept exploit exists on GitHub, but this vulnerability has not been confirmed actively exploited by CISA KEV, and EPSS places exploitation probability at just 0.01% (2nd percentile), indicating very low real-world exploitation activity.

RemediationAI

No vendor-released patch has been identified at time of analysis. The project was notified via GitHub issue (https://github.com/albertodemichelis/squirrel/issues/327) but has not responded. Organizations should actively monitor the upstream repository at https://github.com/albertodemichelis/squirrel for a fix release. As compensating controls, restrict local user permissions to prevent untrusted users from supplying arbitrary Cnut files to Squirrel-based applications - this directly addresses the required attack vector. Where feasible, disable or sandbox Cnut file ingestion from external or user-controlled sources; note this may break legitimate scripting workflows and should be tested in staging. Run applications embedding Squirrel in least-privilege OS contexts (e.g., dedicated service accounts, containers with restricted capabilities) to limit heap corruption impact. Input validation at the application layer on Cnut file headers and length fields can reduce exposure without requiring Squirrel engine changes.

Affected VersionsENISA

Squirrel 3.0
Squirrel 3.1
Squirrel 3.2

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, embedded scripting language implemented in C++ and commonly integrated into games and applications. The vulnerable component is the ReadObject function within squirrel/sqobject.cpp, part of the Cnut File Handler subsystem responsible for deserializing compiled Squirrel bytecode files (.cnut). CWE-122 (Heap-based Buffer Overflow) identifies the root cause as improper bounds checking during object deserialization - a negative or crafted length value can cause the function to write beyond the boundaries of a heap-allocated buffer, corrupting adjacent memory. The CPE identifier cpe:2.3:a:n/a:squirrel:*:*:*:*:*:*:*:* indicates Squirrel is not formally registered under a recognized vendor in the NVD CPE dictionary, which may limit automated detection coverage in vulnerability management tooling.

Know when Squirrel gets its next vulnerability

  • 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 1.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/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
Low
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

Lifecycle Timeline

2
Severity Changed
May 26, 2026 - 14:22 NVD
MEDIUM LOW
CVSS changed
May 26, 2026 - 14:22 NVD
5.3 (MEDIUM) 1.9 (LOW)

DescriptionCVE.org

A security flaw has been discovered in Squirrel up to 3.2. Impacted is the function ReadObject of the file squirrel/sqobject.cpp of the component Cnut File Handler. Performing a manipulation results in heap-based buffer overflow. The attack is only possible with local access. 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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% 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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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