CVE-2026-110605
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 4.0
- 6.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - EPSS
- 0.2% chance of exploitation in the next 30 days; higher than 9% of CVEs (scores of 2026-10-25)
- CWE
- CWE-369
- Published
- Modified
- Record from
- the NVD, synced
References
- https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L1422-L1503
- https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L542
- https://github.com/tomolt/libschrift/issues/46
- https://hackmd.io/@haind-pwn/libschrift-unitsperem-zero-oob
- https://www.vulncheck.com/advisories/libschrift-through-0.10.2-divide-by-zero-via-unitsperem-in-draw-line