Rust advisories / stb_truetype
UnmaintainedRUSTSEC-2020-0020 · stb_truetype
RUSTSEC-2020-0020: `stb_truetype` crate has been deprecated; use `ttf-parser` instead
Short answerNot a bug report: stb_truetype is no longer maintained, so future security issues will not be fixed. The advisory points to ttf-parser as the replacement.
| Crate | stb_truetype |
|---|---|
| Type | Unmaintained |
| Affected versions | Every version. |
| Fixed in | not applicable (the crate is unmaintained) |
| Severity | not scored |
| Published | 2020-04-18 |
| Last changed | 2020-10-02 |
| Also known as | none |
What to do
- Move to ttf-parser (our data on it).
- If you cannot move yet, acknowledge it in your audit config so CI stays green while you plan: add
"RUSTSEC-2020-0020"toignorein.cargo/audit.tomlordeny.toml, with a comment saying why. - Find who pulls it in:
cargo tree -i stb_truetype.
Details from the advisory
This crate was maintained for use in rusttype which has switched to use ttf-parser
References
- Package: crates.io/crates/stb_truetype
- Advisory: rustsec.org/advisories/RUSTSEC-2020-0020.html
- Web: gitlab.redox-os.org/redox-os/stb_truetype-rs/-/commit/f1f5be4794e87bfc80a4255bc3f23ed75dd77645
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?