CVE-2026-110605
published medium CVSS 4.0 · 6.8libschrift through 0.10.2 Divide by Zero via unitsPerEm in draw_line
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tomolt | — | libschrift0 through 0.10.2 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tomolt | libschrift | 0 through 0.10.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-369 Divide By Zero
References
5- 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
- VulnCheck Advisory: libschrift through 0.10.2 Divide by Zero via unitsPerEm in draw_line https://www.vulncheck.com/advisories/libschrift-through-0.10.2-divide-by-zero-via-unitsperem-in-draw-line
Provider assertions
2VulnCheck · cna
libschrift through 0.10.2 Divide by Zero via unitsPerEm in draw_line
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e260431cea71e8072067e25cd1287c2751da9323c987fab585dfe277dea2dc3
- Ingested
- 26 Oct 2026, 16:29:12 UTC
- Source record
- Official CVE record