CVE-2021-28030Truetype Project Truetype
High 7.5 No auth needed
Follow: this CVE · Truetype Project · Truetype Project Truetype We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Mar 5, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-908
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
An issue was discovered in the truetype crate before 0.30.1 for Rust. Attackers can read the contents of uninitialized memory locations via a user-provided Read operation within Tape::take_bytes.
What to do
- Apply the vendor's security update for Truetype.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | truetype |
< 0.30.1 |
0.30.1 |
cargo update -p truetype --precise 0.30.1 |
| crates.io | truetype |
≥ 0.0.0-0 < 0.30.1 |
0.30.1 |
cargo update -p truetype --precise 0.30.1 |
Per OSV / GitHub Advisories (GHSA-v7q4-97x4-4qw2, RUSTSEC-2021-0029). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| truetype_project | truetype | < 0.30.1 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Patch Third Party Advisory