Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Double free in `OwnedAlloc::drop_in_place` when the contained value's `Drop` panics

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

osv · RUSTSEC-2026-0291

Published

`OwnedAlloc::drop_in_place` destroys the contained value by hand, then commits the ownership transfer with `mem::forget(self)` — which lives inside `into_raw` and so runs only after the destruction. `T::drop` is user code and may panic. If it does, the forget is skipped and the still-live `OwnedAlloc` unwinds, whose destructor drops the same `T` a second time and then deallocates. For a `T` that owns an allocation, the same block is freed twice — a double free (CWE-415). That destructor also reads the already-destroyed value through `Layout::for_value` before deallocating, a use-after-free (CWE-416). `MaybeUninitAlloc::drop_in_place` delegates to the same function, so both public entry points are affected. Storing a value whose `Drop` can panic and calling either is enough — no `unsafe` on the caller's side. ## Fix No fixed release is available. The crate has had no release since 2018 and the maintainer has not responded to the report, nor to the one on `lockfree`, which is published from the same account. `forget_inner` leaks the value instead of destroying it, which is safe.

Source published
9 Sep 2026 12:00:00 UTC
Source modified
21 Sep 2026 09:15:02 UTC
Saved here
24 Oct 2026 13:19:54 UTC
Source terms
OSV · upstream source license applies

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 13 Nov 00:55 UTC · 273 of 275 readable · 271 fully read · documentation 469/469 current