Rust advisories / macroquad
Unsound HighRUSTSEC-2025-0035 · macroquad
RUSTSEC-2025-0035: Multiple soundness issues in `macroquad`
Short answermacroquad has an API that can cause undefined behaviour from safe code: Multiple soundness issues in `macroquad`. No fixed version yet.
| Crate | macroquad |
|---|---|
| Type | Unsound (memory-corruption) |
| Affected versions | Every version. |
| Fixed in | none |
| Severity | High (GitHub rating) |
| Published | 2025-04-23 |
| Last changed | 2025-10-28 |
| Also known as | GHSA-gg76-hg3v-5q6c |
What to do
- Find who pulls it in:
cargo tree -i macroquad. - Avoid the affected API, or replace the crate.
Details from the advisory
Several soundness issues have been reported. Resolving them doesn't seem to be considered a priority. In particular, unprincipled use of mutable statics is pervasive throughout the library, making it possible to cause use-after-free in safe code.
Currently, no fixed version is available.
References
- Package: crates.io/crates/macroquad
- Advisory: rustsec.org/advisories/RUSTSEC-2025-0035.html
- Report: github.com/not-fl3/macroquad/issues/333
- Report: github.com/not-fl3/macroquad/issues/634
- Report: github.com/not-fl3/macroquad/issues/746
- Report: github.com/not-fl3/macroquad/issues/723
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?