# RUSTSEC-2025-0035: Multiple soundness issues in macroquad

- Database: RustSec
- Published: 2025-04-23
- Modified: 2025-10-28

## Also published as

- [GHSA-GG76-HG3V-5Q6C](https://cve.now/GHSA-GG76-HG3V-5Q6C.md) (GitHub)

## Affected versions

- macroquad (crates.io): all versions

## Description

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

- https://crates.io/crates/macroquad
- https://rustsec.org/advisories/RUSTSEC-2025-0035.html
- https://github.com/not-fl3/macroquad/issues/333
- https://github.com/not-fl3/macroquad/issues/634
- https://github.com/not-fl3/macroquad/issues/746
- https://github.com/not-fl3/macroquad/issues/723

Page: https://cve.now/RUSTSEC-2025-0035

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
