{"id":"CVE-2021-44078","published":"2021-12-26T04:28:31Z","modified":"2024-08-04T04:10:17Z","title":"An issue was discovered in split_region in uc.c in Unicorn Engine before 2.0.0-rc5","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in split_region in uc.c in Unicorn Engine before 2.0.0-rc5. It allows local attackers to escape the sandbox. An attacker must first obtain the ability to execute crafted code in the target sandbox in order to exploit this vulnerability. The specific flaw exists within the virtual memory manager. The issue results from the faulty comparison of GVA and GPA while calling uc_mem_map_ptr to free part of a claimed memory block. An attacker can leverage this vulnerability to escape the sandbox and execute arbitrary code on the host machine.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00546,"percentile":0.39326,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.unicorn-engine.org/changelog/","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/jwang-a/cb4b6e9551457aa299066076b836a2cd","tags":["x_refsource_MISC"]},{"url":"https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24","tags":["x_refsource_MISC"]},{"url":"https://github.com/jwang-a/CTF/blob/master/MyChallenges/Pwn/Unicorns_Aisle/UnicornsAisle.pdf","tags":["x_refsource_MISC"]},{"url":"https://github.com/unicorn-engine/unicorn/compare/2.0.0-rc4...2.0.0-rc5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":7.87}]},"affected":[{"ecosystem":"PyPI","package":"unicorn","vulnerableRanges":["<2.0.0rc1"],"patched":["2.0.0rc1"],"from":["PYSEC-2021-868"],"provenance":"source"}],"summary":{"text":"The flaw is in the split_region function in uc.c of Unicorn Engine, affecting versions before 2.0.0-rc5, where the virtual memory manager compares GVA and GPA incorrectly while uc_mem_map_ptr frees part of a claimed memory block. An attacker who can already execute crafted code inside the target sandbox, and so has local access, can exploit this to escape the sandbox and run arbitrary code on the host machine.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:16Z"},"euvd":{"id":"EUVD-2021-0455","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-unicorn-cve-2021-44078","children":[{"from":"CVE-2021-44078","to":"CVE-2022-29693","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["uc.c"],"commits":["https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24","https://github.com/unicorn-engine/unicorn/commit/469fc4c35a0cfabdbefb158e22d145f4ee6f77b9"],"basis":"rarely changed file"}]}]}}