SEVERITY NOT PROVIDED

RUSTSEC-2026-0575: `Spsc::peek` used `Relaxed` ordering where it should have use `Acquire`

Published 2026-11-18 · Updated 2026-11-19

Summary

The Spsc::peek function in heapless uses Relaxed memory ordering instead of Acquire, which could lead to undefined behavior through a race condition. Developers using heapless versions before 0.9.4 should update to mitigate this issue.

Who is affected

This vulnerability affects deployments using the heapless crate in versions from 0.0.0-0 to before 0.9.4. The race condition could lead to undefined behavior when using the Spsc channel's peek functionality concurrently. Systems relying on proper synchronization guarantees may experience memory safety violations if this condition is triggered in production code.

Exploitability

Not documented. The CVSS vector and base score are not computed, and EPSS data is not yet available. CISA KEV status is not YES for this vulnerability.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io heapless >= 0.0.0-0, < 0.9.4 0.9.4 cargo update -p heapless --precise 0.9.4

FAQ

What is the vulnerability in heapless?

The Spsc::peek function uses Relaxed memory ordering instead of Acquire, which could lead to undefined behavior through a race condition.

Who discovered this vulnerability?

The vulnerability was reported by Jacob Finkelman, as noted in the vulnerability record.

What version of heapless fixes this issue?

Version 0.9.4 of heapless contains the fix for this vulnerability.

Is there active exploitation of this vulnerability?

No, CISA KEV status is not YES for this vulnerability, and no exploit code is documented.

Original advisory description
This could lead to UB through a race condition. Reported by [Jacob Finkelman](https://github.com/Eh2406).

References

Source records: RUSTSEC-2026-0575 (OSV.dev).