CVE-2026-110605
CVE-2026-110605 · libschrift through 0.10.2 Divide by Zero via unitsPerEm in draw_line
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 6.8 · Moyenne · EPSS 0,3%
- Publication
- Mise à jour
Produits et versions concernés
libschrift
- Versions du logiciel
- ≥ 0, ≤ 0.10.2: Concernée (semver)
Aucun correctif publié
Sources originales
- https://github.com/tomolt/libschrift/issues/46
- https://hackmd.io/@haind-pwn/libschrift-unitsperem-zero-oob
- https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L542
- https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L1422-L1503
- https://www.vulncheck.com/advisories/libschrift-through-0.10.2-divide-by-zero-via-unitsperem-in-draw-line
- https://nvd.nist.gov/vuln/detail/CVE-2026-110605