CVE-2021-44078Unicorn-engine Unicorn Engine
High 8.1
Follow: this CVE · Unicorn-engine · Unicorn-engine Unicorn Engine We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 39
- Auth required
- Yes
- Published
- Dec 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-697
- Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Unicorn Engine.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | unicorn |
< 2.0.0rc1 |
2.0.0rc1 |
pip install "unicorn>=2.0.0rc1" |
Per OSV / GitHub Advisories (PYSEC-2021-868). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| unicorn-engine | unicorn_engine | ≤ 1.0.3 |
| unicorn-engine | unicorn_engine | 2.0.0 |
| unicorn-engine | unicorn_engine | 2.0.0 |
| unicorn-engine | unicorn_engine | 2.0.0 |
| unicorn-engine | unicorn_engine | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- www.unicorn-engine.org Vendor Advisory