CVE-2020-19725 Use after free in n/a

High 7.8 Published Updated

A use-after-free in the Z3 theorem prover allows attackers to cause crashes or execute arbitrary code via crafted constraints.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-19725?

CVE-2020-19725 is a high-severity use after free vulnerability in n/a, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

There is a use-after-free vulnerability in file pdd_simplifier.cpp in Z3 before 4.8.8. It occurs when the solver attempt to simplify the constraints and causes unexpected memory access. It can cause segmentation faults or arbitrary code execution.

Weakness: CWE-416

Which versions are affected by CVE-2020-19725?

It affects 1 product.

Products include Microsoft Z3.

How do I fix CVE-2020-19725?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2020-19725 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-19725 exists.

Sources

Also known as AZL-27991, AZL-37067, GHSA-whrm-xv93-8gvj, UBUNTU-CVE-2020-19725.

Is CVE-2020-19725 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free