Live threats

All CVEs / Squirrel-lang

CVE-2021-41556Squirrel-lang Squirrel

Critical 10.0 No auth needed

Priority
75
CVSS 3.1
10.0
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Jul 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

sqclass.cpp in Squirrel through 2.2.5 and 3.x through 3.1 allows an out-of-bounds read (in the core interpreter) that can lead to Code Execution. If a victim executes an attacker-controlled squirrel script, it is possible for the attacker to break out of the squirrel script sandbox even if all dangerous functionality such as File System functions has been disabled. An attacker might abuse this bug to target (for example) Cloud services that allow customization via SquirrelScripts, or distribute malware through video games that embed a Squirrel Engine.

Original NVD text.

What to do

  1. Apply the vendor's security update for Squirrel.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
squirrel-langsquirrel≤ 2.2.5
squirrel-langsquirrel≥ 3.0 ≤ 3.1
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.