Rust advisories / term_size
UnmaintainedRUSTSEC-2020-0163 · term_size
RUSTSEC-2020-0163: `term_size` is unmaintained; use `terminal_size` instead
Short answerNot a bug report: term_size is no longer maintained, so future security issues will not be fixed. The advisory points to terminal_size as the replacement.
| Crate | term_size |
|---|---|
| Type | Unmaintained |
| Affected versions | Every version. |
| Fixed in | not applicable (the crate is unmaintained) |
| Severity | not scored |
| Published | 2020-11-03 |
| Last changed | 2022-08-02 |
| Also known as | none |
What to do
- Move to terminal_size.
- If you cannot move yet, acknowledge it in your audit config so CI stays green while you plan: add
"RUSTSEC-2020-0163"toignorein.cargo/audit.tomlordeny.toml, with a comment saying why. - Find who pulls it in:
cargo tree -i term_size.
Details from the advisory
The term_size crate is no longer maintained. Consider using terminal_size instead.
References
- Package: crates.io/crates/term_size
- Advisory: rustsec.org/advisories/RUSTSEC-2020-0163.html
- Web: github.com/clap-rs/term_size-rs/pull/31
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?