Email me

Rust advisories / failure

Unsound CriticalRUSTSEC-2019-0036 · failure

RUSTSEC-2019-0036: Type confusion if __private_get_type_id__ is overridden

Short answerfailure has an API that can cause undefined behaviour from safe code: Type confusion if __private_get_type_id__ is overridden. No fixed version yet.

Cratefailure
TypeUnsound
Affected versionsEvery version.
Fixed innone
SeverityCritical, CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2019-11-13
Last changed2023-11-08
Also known asCVE-2019-25010, CVE-2020-25575, GHSA-jq66-xh47-j9f3, GHSA-r98r-j25q-rmpr, RUSTSEC-2020-0036
Affected functionsfailure::Fail::__private_get_type_id__

What to do

  1. Find who pulls it in: cargo tree -i failure.
  2. Avoid the affected API (failure::Fail::__private_get_type_id__), or replace the crate.

Details from the advisory

Safe Rust code can implement malfunctioning __private_get_type_id__ and cause type confusion when downcasting, which is an undefined behavior.

Users who derive Fail trait are not affected.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for failure

Full security history of failure

Up next

Same cratefailure: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ