# CVE-2021-44078: An issue was discovered in splitregion in uc.c in Unicorn Engine before 2.0.0-rc5.

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2021-12-26T04:28:31.000Z
- Modified: 2026-06-17T04:11:52.607Z
- Also known as: PYSEC-2021-868
- Weaknesses: CWE-697
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- unicorn-engine unicorn_engine: up to 1.0.3; 2.0.0
- unicorn (PyPI): before c733bbada356b0373fa8aa72c044574bb855fd24; before 2.0.0rc1

## Every score

- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://www.unicorn-engine.org/changelog/> (vendor-advisory, web)
- <https://gist.github.com/jwang-a/cb4b6e9551457aa299066076b836a2cd> (third-party-advisory, web)
- <https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24> (fix, patch, third-party-advisory)
- <https://github.com/jwang-a/CTF/blob/master/MyChallenges/Pwn/Unicorns_Aisle/UnicornsAisle.pdf> (third-party-advisory, web)
- <https://github.com/unicorn-engine/unicorn/compare/2.0.0-rc4...2.0.0-rc5> (patch, third-party-advisory, web)

## Sources

- CVE List: [CVE-2021-44078](https://www.cve.org/CVERecord?id=CVE-2021-44078), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-44078](https://nvd.nist.gov/vuln/detail/CVE-2021-44078), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-868](https://osv.dev/vulnerability/PYSEC-2021-868), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-44078 · Whole record: https://cve.day/CVE-2021-44078.json · Rebuilt by cve.day 2026-11-25T22:24:36.398Z
