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.
History

Fri, 29 May 2026 19:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-07-28T20:41:36.000Z

Updated: 2026-05-29T18:48:40.016Z

Reserved: 2021-09-22T00:00:00.000Z

Link: CVE-2021-41556

cve-icon Vulnrichment

Updated: 2024-08-04T03:15:28.503Z

cve-icon NVD

Status : Modified

Published: 2022-07-28T21:15:08.057

Modified: 2026-05-29T20:16:21.173

Link: CVE-2021-41556

cve-icon Redhat

No data.