{"api_version":"1","generated_at":"2026-05-11T14:59:21+00:00","cve":"CVE-2021-41556","urls":{"html":"https://cve.report/CVE-2021-41556","api":"https://cve.report/api/cve/CVE-2021-41556.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41556","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41556"},"summary":{"title":"CVE-2021-41556","description":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-07-28 21:15:00","updated_at":"2023-11-07 03:38:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"https://blog.sonarsource.com/squirrel-vm-sandbox-escape/","name":"https://blog.sonarsource.com/squirrel-vm-sandbox-escape/","refsource":"MISC","tags":[],"title":"Squirrel Sandbox Escape allows Code Execution in Games and Cloud Services","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BV7SJJ44AGAX4ILIVPREIXPJ2GOG3FKV/","name":"FEDORA-2022-e81c0db364","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: squirrel-2.2.5-25.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M3FQILX7UUEERSDPMZP3MKGTMY2E7ESU/","name":"FEDORA-2022-e139f256f6","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: squirrel-2.2.5-25.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.squirrel-lang.org/#download","name":"http://www.squirrel-lang.org/#download","refsource":"MISC","tags":[],"title":"Squirrel - The Programming Language","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98","name":"https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98","refsource":"MISC","tags":[],"title":"check max member count in class · albertodemichelis/squirrel@23a0620 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3FQILX7UUEERSDPMZP3MKGTMY2E7ESU/","name":"FEDORA-2022-e139f256f6","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: squirrel-2.2.5-25.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BV7SJJ44AGAX4ILIVPREIXPJ2GOG3FKV/","name":"FEDORA-2022-e81c0db364","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: squirrel-2.2.5-25.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41556","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41556","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"41556","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41556","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41556","vulnerable":"1","versionEndIncluding":"2.2.5","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squirrel-lang","cpe5":"squirrel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41556","vulnerable":"1","versionEndIncluding":"3.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squirrel-lang","cpe5":"squirrel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-41556","qid":"283026","title":"Fedora Security Update for squirrel (FEDORA-2022-e81c0db364)"},{"cve":"CVE-2021-41556","qid":"283027","title":"Fedora Security Update for squirrel (FEDORA-2022-e139f256f6)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-41556","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98","refsource":"MISC","name":"https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98"},{"url":"http://www.squirrel-lang.org/#download","refsource":"MISC","name":"http://www.squirrel-lang.org/#download"},{"refsource":"MISC","name":"https://blog.sonarsource.com/squirrel-vm-sandbox-escape/","url":"https://blog.sonarsource.com/squirrel-vm-sandbox-escape/"},{"refsource":"FEDORA","name":"FEDORA-2022-e81c0db364","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BV7SJJ44AGAX4ILIVPREIXPJ2GOG3FKV/"},{"refsource":"FEDORA","name":"FEDORA-2022-e139f256f6","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3FQILX7UUEERSDPMZP3MKGTMY2E7ESU/"}]}},"nvd":{"publishedDate":"2022-07-28 21:15:00","lastModifiedDate":"2023-11-07 03:38:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:squirrel-lang:squirrel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndIncluding":"3.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:squirrel-lang:squirrel:*:*:*:*:*:*:*:*","versionEndIncluding":"2.2.5","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"41556","Ordinal":"217351","Title":"CVE-2021-41556","CVE":"CVE-2021-41556","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"41556","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}