SEVERITY NOT PROVIDED

RUSTSEC-2026-0580: The treiber stack implementation in heapless had a race condition

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

Summary

The treiber stack implementation in the heapless crate contains a race condition that can lead to invalid pointer reads. Maintainers and developers using vulnerable versions of heapless should update their dependencies immediately.

Who is affected

Affected deployments are those utilizing the heapless crate where two threads or execution contexts run concurrently and race. This condition can cause one execution context to read from a pointer that has been invalidated by another context.

Exploitability

The CVSS vector, base score, and EPSS are not documented, and the CISA Known Exploited Vulnerabilities status is no, meaning active exploitation data is not available.

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 packages are affected by RUSTSEC-2026-0580?

The crates.io package heapless is affected for versions introduced at 0.0.0-0 and fixed at 0.9.4.

What is the nature of the vulnerability?

It is a race condition in the treiber stack implementation that allows concurrent threads or execution contexts to cause invalid pointer reads.

Is there any active exploitation reported for this vulnerability?

No, CISA Known Exploited Vulnerabilities status is marked as no and EPSS is not yet available.

Original advisory description
In the affected versions, it was possible for two threads or execution contexts running concurrently to race, causing one to read out of a pointer that had been invalidated by another execution context. Reported by [Jacob Finkelman](https://github.com/Eh2406).

References

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