RUSTSEC-2026-0577

Source
https://rustsec.org/advisories/RUSTSEC-2026-0577
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0577.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0577
Downstream
Published
2026-11-18T12:00:00Z
Modified
2026-11-19T09:00:04Z
Summary
Panicking `Drop` implementation could lead to UB
Details

Multiple functions dropped generic parameters but didn't properly handle the unwinding case, leading to broken invariants.

Reported by tooson9010-spec and Evian-Zhang.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / heapless

Package

Name
heapless
View open source insights on deps.dev
Purl
pkg:cargo/heapless

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.9.4

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "arch": [],
        "functions": [
            "heapless::deque::Deque::clear",
            "heapless::history_buf::HistoryBuf::clear",
            "heapless::history_buf::HistoryBuf::write",
            "heapless::index_map::IndexMap::clear",
            "heapless::index_map::IndexMap::retain",
            "heapless::index_map::IndexMap::truncate",
            "heapless::vec::IntoIter::drop"
        ],
        "os": []
    }
}

Database specific

categories
[
    "memory-corruption"
]
cvss
null
informational
"unsound"
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0577.json"