cve.bz

CVE-2021-44078 unicorn-engine unicorn engine: Incorrect Comparison

8.1 highEPSS 0.5%Fix available

High (8.1) in unicorn-engine unicorn engine. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in unicorn 2.0.0rc1.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-697 Incorrect Comparison
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-44078 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-44078?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-44078?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-44078 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
unicorn-engine:unicorn_enginethrough 1.0.3
unicorn-engine:unicorn_engine2.0.0:rc1
unicorn-engine:unicorn_engine2.0.0:rc2
unicorn-engine:unicorn_engine2.0.0:rc3
unicorn-engine:unicorn_engine2.0.0:rc4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
PYSEC-2021-868PyPIunicorn<2.0.0rc12.0.0rc1

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).

References

Check your stackJSON