Live threats

All CVEs / Truetype Project

CVE-2021-28030Truetype Project Truetype

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Truetype.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
truetype_projecttruetype< 0.30.1

Official sources

References

Links published by the sources. Open them with care.