Out-of-bounds Read in Squirrel-Lang Squirrel

CVE-2021-41556

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.028 (85.7th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-41556: held from 0.027 to 0.028.

EPSS over last 30 days · oldest: 0.027 · newest: 0.028 · change: +0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-41556?
CVE-2021-41556 is a critical-severity vulnerability in Squirrel-Lang Squirrel, classified under Out-of-bounds Read. CVSS score: 10.0/10. Published 2022-07-28.
How severe is CVE-2021-41556?
Critical severity. CVSS v3 base score is 10.0 out of 10.