Use After Free Affecting z3-solver package, versions [,4.8.8.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.03% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-Z3SOLVER-15264114
  • published11 Feb 2026
  • disclosed22 Aug 2023
  • credit5hadowblad3

Introduced: 22 Aug 2023

CVE-2020-19725  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade z3-solver to version 4.8.8.0 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free when processing files in pdd_simplifier.cpp. An attacker can cause segmentation faults or execute arbitrary code by triggering unexpected memory access. This occurs as the solver is trying to simplify the constraints, which leads to a use-after-free vulnerability.

CVSS Base Scores

version 3.1