ZeroHour

CVE-2026-58822

mass

Improper-cast memory-safety flaw in FreeType (ftsmooth.c) allows unauthenticated RCE

CVSS 3.1
9.8 critical
EPSS
<1%p23
Published
()
Modified
AI analysis

CVE-2026-58822 is a memory-safety vulnerability in the FreeType font rendering library's smooth rasterizer (source file ftsmooth.c), caused by improper type casting (CWE-704) across multiple functions. It is triggered when the library processes attacker-controlled font data, and the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) indicates it is reachable over a network without authentication or user interaction, which matters most for network-facing services that render untrusted fonts. A successful attacker gains remote code execution with no privileges required, with high impact on confidentiality, integrity, and availability. Anyone running software that bundles the affected FreeType code is exposed, and because FreeType ships in Android and most Linux distributions as well as countless applications and embedded devices, the plausibly affected install base is very large, though the affected version range is not specified in the available data. There is no known public proof-of-concept, the flaw is not in CISA's KEV, and its EPSS score of 0.3% (23rd percentile) suggests low expected exploitation in the next 30 days.

What to do: No fixed version is specified in the available data, so monitor the FreeType project and Google/Android security bulletins for the patched release and update bundled or vendored copies of FreeType as soon as one is published. In the meantime, identify network-facing services that parse untrusted font files (e.g., document, PDF, image, or web-font rendering services) and sandbox or restrict that parsing, since exploitation requires no authentication or user interaction.

Affected
FreeType (flaw assigned by Google/Android security team) FreeType font rendering library, smooth rasterizer (src/smooth/ftsmooth.c)
Estimated exposure
masspotentially hundreds of millions to billions of devices (FreeType ships in Android and most Linux distributions); affected version range not specified — FreeType is embedded by default in Android (billions of active devices) and bundled in virtually all Linux distributions and many embedded stacks, so plausibly affected installations are in the hundreds of millions or more, pending the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

In multiple functions of ftsmooth.c, there is a possible memory safety issue due to improper casting. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.

Weakness
CWE-704
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.