Cyber Resilience

CVE-2026-2661

MediumPublic PoC

Published: 18 February 2026

Published
18 February 2026
Modified
20 February 2026
KEV Added
Patch
CVSS Score v4 4.8 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0001 1.4th percentile
Risk Priority 10 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2026-2661 is a medium-severity Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119) vulnerability in Squirrel-Lang Squirrel. Its CVSS base score is 4.8 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 1.4th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-16 (Memory Protection) and CM-7 (Least Functionality).

Deeper analysis

CVE-2026-2661 is a heap-based buffer overflow vulnerability in the Squirrel scripting language library, specifically affecting the SQObjectPtr::operator function in squirrel/sqobject.h. It impacts Squirrel versions up to and including 3.2 and is associated with CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) and CWE-122 (Heap-based Buffer Overflow).

The vulnerability requires local access (AV:L) with low attack complexity (AC:L) and low privileges (PR:L), needing no user interaction (UI:N) and resulting in no scope change (S:U). An attacker can achieve a denial-of-service condition impacting availability (A:L), with no effects on confidentiality or integrity, as reflected in its CVSS v3.1 base score of 3.3.

Advisories indicate the Squirrel project was informed early via GitHub issue #310 (https://github.com/albertodemichelis/squirrel/issues/310) but has not responded or released patches. A proof-of-concept exploit reproduction is publicly available (https://github.com/oneafter/0122/blob/main/i310/repro), and VulDB details the issue (https://vuldb.com/?ctiid.346459, https://vuldb.com/?id.346459, https://vuldb.com/?submit.753165). No specific mitigations are provided beyond avoiding affected versions.

The exploit has been released publicly and may be used for attacks, published on 2026-02-18.

EU & UK References

Vulnerability details

A security flaw has been discovered in Squirrel up to 3.2. This affects the function SQObjectPtr::operator in the library squirrel/sqobject.h. The manipulation results in heap-based buffer overflow. The attack needs to be approached locally. The exploit has been released to…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

Heap buffer overflow in Squirrel library enables local exploitation to crash the host application, directly mapping to application/system exploitation for endpoint DoS (no RCE or escalation per CVSS).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2026-2659Same product: Squirrel-Lang Squirrel
CVE-2026-3463Shared CWE-119, CWE-122
CVE-2026-3393Shared CWE-119, CWE-122
CVE-2025-32990Shared CWE-122
CVE-2024-52923Shared CWE-119
CVE-2026-28842Shared CWE-122
CVE-2026-2522Shared CWE-119
CVE-2026-28944Shared CWE-119
CVE-2026-28953Shared CWE-119
CVE-2025-0755Shared CWE-122

Affected Assets

squirrel-lang
squirrel
≤ 3.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces memory protections (e.g., ASLR, guard pages, safe allocators) that block exploitation of the heap-based buffer overflow in SQObjectPtr::operator.

prevent

Requires bounds checking and sanitization on inputs passed to Squirrel library functions, mitigating the root cause of the CWE-122 overflow before it occurs.

prevent

Restricts installation and execution of the vulnerable Squirrel <=3.2 component to only those systems where it is explicitly required, reducing the local attack surface.

References