Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-110605 EUVD-2026-101233GHSA-h8w2-cf8p-7p38

libschrift through 0.10.2 Divide by Zero via unitsPerEm in draw_line

Published Oct 14, 2026 · Updated Oct 26, 2026 · Assigned by VulnCheck

Description

libschrift through 0.10.2 contains a divide by zero vulnerability that allows attackers to crash applications by supplying a font with unitsPerEm of 0 in the head table. Attackers can provide a crafted TrueType font whose NaN glyph coordinates bypass clip_points(), causing an out-of-bounds raster read in draw_line() during sft_render() and crashing the process.

Affected products

VendorProductAffectedFixed
tomolt libschrift ≤ 0.10.2 —

References