CVE-2026-110605
6.8medium
libschrift through 0.10.2 Divide by Zero via unitsPerEm in draw_line
- Severity
- 6.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| tomolt libschrift | up to 0.10.2 | CVE List |
All scores
| VulnCheck | 6.8medium CVSS:4.0 | 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 |
| VulnCheck | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://github.com/tomolt/libschrift/issues/46 | exploit, issue-tracking | |
| https://hackmd.io/@haind-pwn/libschrift-unitsperem-zero-oob | exploit, third-party-advisory | |
| https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L542 | technical-description | |
| https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L1422-L1503 | technical-description | |
| https://www.vulncheck.com/advisories/libschrift-through-0.10.2-divide-by-zero-via-unitsperem-in-draw-line | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-110605 changed 2026-10-26 | CVE Terms of Use |
| NVD | CVE-2026-110605 changed 2026-10-26 | Public domain |