CVE-2026-110605
mediumlibschrift 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 h…
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:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L1422-L1503 disclosure@vulncheck.com
- https://github.com/tomolt/libschrift/blob/v0.10.2/schrift.c#L542 disclosure@vulncheck.com
- https://github.com/tomolt/libschrift/issues/46 disclosure@vulncheck.com
- https://hackmd.io/@haind-pwn/libschrift-unitsperem-zero-oob disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/libschrift-through-0.10.2-divide-by-zero-via-unitsper... disclosure@vulncheck.com
- https://github.com/tomolt/libschrift/issues/46 134c704f-9b21-4f2e-91b3-4a467353bcc0
- https://hackmd.io/@haind-pwn/libschrift-unitsperem-zero-oob 134c704f-9b21-4f2e-91b3-4a467353bcc0
