Impact
The vulnerability in libschrift up to version 0.10.2 is a divide‑by‑zero condition triggered by a unitsPerEm value of 0 in the font's head table. When the library processes a crafted TrueType font, the NaN glyph coordinates bypass clip_points(), leading to an out‑of‑bounds raster read inside draw_line() during sft_render(). This causes the application to terminate unexpectedly. The weakness is a classic divide‑by‑zero flaw (CWE‑369).
Affected Systems
The affected software is the open‑source libschrift library from tomolt, in all releases through 0.10.2. Any application that loads TrueType fonts via libschrift is vulnerable; no specific system versions are mentioned beyond the library itself.
Risk and Exploitability
The CVSS score is 6.8, indicating a medium severity impact. The EPSS score is 0.00201, indicating a very low exploitation probability, and the vulnerability is not listed in CISA KEV. The attack vector is likely remote or local depending on the application’s font handling; an attacker can supply a malicious font file to the vulnerable program, forcing a crash. The exploit does not require privileged permissions, and the denial of service can affect availability for the target process.
OpenCVE Enrichment