harfrust is vulnerable to Denial of Service (DoS)
28
Low Risk
harfrust performs OpenType GPOS positioning and propagates mark and cursive attachment offsets across glyphs while shaping text. When it shapes an overly long grapheme cluster, such as a base character followed by tens of thousands of combining marks, the accumulated signed 32-bit attachment offsets exceed their range. The unchecked additions and subtractions overflow and trigger an arithmetic overflow panic that aborts shaping. The fix replaces the offset arithmetic with saturating operations so the values clamp instead of overflowing.
You are affected if you are using a version that falls within the vulnerable range.
harfrust is vulnerable to Denial of Service (DoS) in versions 0.1.0 - 0.8.4.
Upgrade the harfrust library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant