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

Not scored Published

A Rust library allowed passing non-thread-safe values across threads, potentially causing undefined behavior or crashes in concurrent applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is RUSTSEC-2025-0045?

RUSTSEC-2025-0045 is a vulnerability in static_cell, published on 17 Jul 2025.

Official 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.

Which versions are affected by RUSTSEC-2025-0045?

1 open source package ship an affected version, including static_cell.

PackageAffectedFixed in
static_cell crates.ioFrom 2.0.1-02.1.1

How do I fix RUSTSEC-2025-0045?

Upgrade static_cell to 2.1.1 or later.

Is RUSTSEC-2025-0045 being exploited?

There is no known exploitation of RUSTSEC-2025-0045 in the wild and no public exploit code.

Sources

Is RUSTSEC-2025-0045 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free