CVE-2026-110605
libschrift through 0.10.2 Divide by Zero via unitsPerEm in draw_line
tomolt libschrift
CVSS
6.8MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.20%Chance of exploitation activity in the next 30 days, higher than 9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- libschriftaffected: all versions through 0.10.2CVE List
References 5
- hackmd.io/@haind-pwn/libschrift-unitsperem-zero-oobAdvisoryvia CVE List
- vulncheck.com/advisories/libschrift-through-0.10.2-divide-by-zero-via-unitsperem-in-draw-lineAdvisoryvia CVE List
- github.com/tomolt/libschrift/issues/46Referencevia CVE List
- github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L542Referencevia CVE List
- github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L1422-L1503Referencevia CVE List