CVE-2021-41556: Fedoraproject Fedora

Critical severity, CVSS 10.0. EPSS: 2.8% chance of exploitation in the next 30 days.

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.

Affected products

  • Fedoraproject Fedora: version 35 only; version 36 only
  • Squirrel-Lang Squirrel: up to and including 2.2.5; from 3.0, up to and including 3.1

Published 2022-07-28. Last modified 2026-06-17.