Deque::make_contiguous could lead to broken invariants
Severity and exploitation
KEV coverage does not rule out exploitation.
Severity
unknownCVSS measures technical severity, not the likelihood of an attack.
Known exploitation
KEV status unavailable or stale
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Package fixes recorded
Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.
What this means
In some branches, Deque::make_contiguous set the back value to either 0 or N when it shouldn't, leading to broken invariants and out-of-bounds writes.
Source excerpt · OSVAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 0.9.4Semantic versions | 0.9.4 |
Version evidence: OSV · RUSTSEC-2026-0581
View original version evidence (0 explicit versions)
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
`Deque::make_contiguous` could lead to broken invariants
In some branches, Deque::make_contiguous set the back value to either 0 or N when it shouldn't, leading to broken invariants and out-of-bounds writes.
Reported by DRMacIver and https://github.com/MJUCOM.
References
4 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
No official CVE record has been imported. Use the source links below for the original advisory.
cve.new JSON →Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
On maps of u16::MAX elements, IndexMap::insert could lead to a broken invariant
Note that this required filling up the map and having the last item inserted to hash to u16::MAX. It is therefore very unlikely to be reachable in a real-world scenario.
Recorded fixes — heapless: 0.9.4. Check your release branch.
Exploitation not established
The treiber stack implementation in heapless had a race condition
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.
Recorded fixes — heapless: 0.9.4. Check your release branch.
Exploitation not established
The Deque implementation from TryFrom was wrong when the Deque ended up full
If the array passed to Deque::try_from was as long as the capacity of the Deque, it would lead to a invalid state.
Recorded fixes — heapless: 0.9.4. Check your release branch.
Exploitation not established
SortedLinkedList::zeroize lead to an inconsistent state
The Zeroize implementation of SortedLinkedList did not properly re-initialize the linked list, leading to broken invariants and memorry corruption.
Recorded fixes — heapless: 0.9.4. Check your release branch.
Exploitation not established
Panicking Drop implementation could lead to UB
Multiple functions dropped generic parameters but didn't properly handle the unwinding case, leading to broken invariants.
Recorded fixes — heapless: 0.9.4. Check your release branch.
Exploitation not established
IndexMap::truncate could lead to an inconsistent state
IndexMap::truncate was not rebuilding indices when it should, leading to an inconsistent state and memory corruption.
Recorded fixes — heapless: 0.9.4. Check your release branch.
Exploitation not established