Live threats

All CVEs / Unicorn-engine

CVE-2021-44078Unicorn-engine Unicorn Engine

High 8.1

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Unicorn Engine.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
unicorn-engineunicorn_engine≤ 1.0.3
unicorn-engineunicorn_engine2.0.0
unicorn-engineunicorn_engine2.0.0
unicorn-engineunicorn_engine2.0.0
unicorn-engineunicorn_engine2.0.0

Official sources

References

Links published by the sources. Open them with care.