CVE-2026-2661 Squirrel sqobject.h operator heap-based overflow
A heap-based buffer overflow in the Squirrel scripting library allows local attackers to execute arbitrary code or cause denial of service.
- 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-2661?
CVE-2026-2661 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 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 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.
Which versions are affected by CVE-2026-2661?
It affects 1 product.
Products include Squirrel-Lang Squirrel.
How do I fix CVE-2026-2661?
No fix has been published for CVE-2026-2661 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-2661 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2661 exists.
Other vulnerabilities in Squirrel
Sources
Also known as DEBIAN-CVE-2026-2661, GHSA-pppv-pc54-6j8r, UBUNTU-CVE-2026-2661.