SEVERITY NOT PROVIDED

RUSTSEC-2026-0579: The `Deque` implementation from `TryFrom` was wrong when the `Deque` ended up full

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

Summary

The heapless Deque TryFrom implementation can enter an invalid state when the input array length equals the Deque capacity. Teams using affected heapless versions should review Deque::try_from usage and upgrade.

Who is affected

Affected deployments are those using crates.io heapless with the Deque::try_from conversion on versions introduced in 0.0.0-0 and before the fix in 0.9.4. The flaw is triggered when the array passed to Deque::try_from is as long as the Deque capacity. The record does not document further conditions or downstream effects.

Exploitability

The record provides no CVSS vector and no base score. EPSS is not yet available. CISA KEV is marked no, so active exploitation is not claimed.

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

Which versions are affected?

The record lists crates.io heapless as introduced in 0.0.0-0 and fixed in 0.9.4.

Is active exploitation known?

No; CISA Known Exploited Vulnerabilities is marked no.

What is the fix?

Use the fixed version 0.9.4.

Original advisory description
If the array passed to `Deque::try_from` was as long as the capacity of the `Deque`, it would lead to a invalid state.

References

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