RUSTSEC-2026-0295
Not scored
Memory corruption bug on `ApplyResult` type
- Severity
- Not scored
- Published
- Last changed
Description
The ApplyResult type contains a raw pointer to a C++ memory object and has a derived Clone implementation which creates a reference to this object without incrementing the associated reference counter.
As a result, if an instance of ApplyResult is duplicated through Clone and both instances are dropped a use-after-free can occur.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| z3 (crates.io) | from 0.0.0-0 before 0.21.0 | RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| RustSec Advisory Database | RUSTSEC-2026-0295 changed 2026-09-21 | CC0-1.0 |