---
id: CVE-2026-110605
title: >-
  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
summary: >-
  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
  coord…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-369
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T15:17:12.160'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110605'
references:
  - url: 'https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L1422-L1503'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L542'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/tomolt/libschrift/issues/46'
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@haind-pwn/libschrift-unitsperem-zero-oob'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/libschrift-through-0.10.2-divide-by-zero-via-unitsperem-in-draw-line
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.003Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
