CVE-2026-8916: Freetype Port Counters Short Integer Overflow
Using 16-bit `short` integers for tracking the number of outline points (`n_points`) or contours (`n_contours`) can lead to integer overflow when processing complex vector graphics formats (like Lottie or SVG) with more than 32,767 items. This causes miscalculation of allocation bounds and out-of-bounds memory writes. Upgrade the structure types and explicit
greprules fetch cve-2026-8916-freetype-port-counters-short-integer-overflow --engine opengrepDescription
Using 16-bit `short` integers for tracking the number of outline points (`n_points`) or contours (`n_contours`) can lead to integer overflow when processing complex vector graphics formats (like Lottie or SVG) with more than 32,767 items. This causes miscalculation of allocation bounds and out-of-bounds memory writes. Upgrade the structure types and explicit
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.