# RUSTSEC-2025-0045: ConstStaticCell could have been used to pass non-Send values to another thread

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-07-17T12:00:00.000Z
- Modified: 2025-07-17T14:38:11.000Z

## Description

`ConstStaticCell<T>` could have been used to pass non-`Send` values to another thread, because `T` was not required to be `Send` while `ConstStaticCell` is `Send`.

This was corrected by introducing a `T: Send` bound.

(As written by RustSec Advisory Database.)

## Affected

- static_cell (crates.io): from 2.0.1-0 before 2.1.1

## References

- <https://crates.io/crates/static_cell> (package)
- <https://rustsec.org/advisories/RUSTSEC-2025-0045.html> (advisory)
- <https://github.com/embassy-rs/static-cell/issues/19> (report)

## Sources

- RustSec Advisory Database: [RUSTSEC-2025-0045](https://rustsec.org/advisories/RUSTSEC-2025-0045.html), CC0-1.0, modified 2025-07-17

---

Page: https://cve.day/RUSTSEC-2025-0045 · Whole record: https://cve.day/RUSTSEC-2025-0045.json · Rebuilt by cve.day 2026-11-25T22:56:43.260Z
