Vulnerability · Published Mar 1, 2026 · Assigned by VulDB
CVE-2026-3388Squirrel sqcompiler.cpp UnaryOP recursion
Low 3.3
In plain English
A low-severity security flaw in Squirrel. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).
Official description
A vulnerability was found in Squirrel up to 3.2. This affects the function SQCompiler::Factor/SQCompiler::UnaryOP of the file squirrel/sqcompiler.cpp. Performing a manipulation results in uncontrolled recursion. The attack needs to be approached locally. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | squirrel3 | no fix listed | DEBIAN-CVE-2026-3388 |
| Ubuntu:22.04:LTS | squirrel3 | no fix listed | UBUNTU-CVE-2026-3388 |
| Ubuntu:25.10 | squirrel3 | no fix listed | UBUNTU-CVE-2026-3388 |
| Ubuntu:26.04:LTS | squirrel3 | no fix listed | UBUNTU-CVE-2026-3388 |
| Ubuntu:26.10 | squirrel3 | no fix listed | UBUNTU-CVE-2026-3388 |
Affected products (as reported)
Weakness: CWE-674, CWE-404 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
References
- VDB-348274 | Squirrel sqcompiler.cpp UnaryOP recursion vdb-entry, technical-description
- VDB-348274 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #761314 | albertodemichelis squirrel master-branch Uncontrolled Recursion third-party-advisory
- https://github.com/albertodemichelis/squirrel/issues/312 issue-tracking
- https://github.com/oneafter/0122/blob/main/i312/repro exploit