CVE-2026-2659 Squirrel sqfuncstate.cpp PopTarget out-of-bounds

Medium 4.8 Published Updated

A local attacker can trigger an out-of-bounds read in the Squirrel scripting library via manipulated stack arguments, potentially causing crashes or information disclosure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2659?

CVE-2026-2659 is a medium-severity memory corruption vulnerability in Squirrel, published on 18 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was determined in Squirrel up to 3.2. Affected by this vulnerability is the function SQFuncState::PopTarget of the file src/squirrel/squirrel/sqfuncstate.cpp. Executing a manipulation of the argument _target_stack can lead to out-of-bounds read. It is possible to launch the attack on the local host. 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.

Weakness: CWE-125, CWE-119

Which versions are affected by CVE-2026-2659?

It affects 1 product.

Products include Squirrel-Lang Squirrel.

How do I fix CVE-2026-2659?

No fix has been published for CVE-2026-2659 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-2659 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2659 exists.

Sources

Also known as DEBIAN-CVE-2026-2659, GHSA-4mcw-fcqm-vqg3, UBUNTU-CVE-2026-2659.

Is CVE-2026-2659 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free