CVE-2026-107218 · GHSA-8jjq-8j9w-m2v6
Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics
- Risk score
- 46/100
- CVSS
- 5.3 v3.1
- Exploit chance (30 days)
- 0.3%
- Published
- 7 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.10.1 to 2.11.0, RIGHT validates the requested length with UTF-16 code-unit counts but slices a rune array using Unicode code-point counts. RIGHT reaches leftRight through CalcCellValue, where countUTF16String validates one u…
- Affected
- github.com/xuri/excelize/v2 (go) >= 2.10.1, < 2.11.1-0.20260908032718-ecd99d761fe0
- Fix
- Upgrade github.com/xuri/excelize/v2 to 2.11.1-0.20260908032718-ecd99d761fe0 or later.
- Exploitation
- Public proof of concept
Why it is Yellow
- CVSS 5.3 medium
- Public exploit or proof of concept referenced
- On your watchlist: Go
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| github.com/xuri/excelize/v2 | go | >= 2.10.1, < 2.11.1-0.20260908032718-ecd99d761fe0 | 2.11.1-0.20260908032718-ecd99d761fe0 |
References
Original description
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.10.1 to 2.11.0, RIGHT validates the requested length with UTF-16 code-unit counts but slices a rune array using Unicode code-point counts. RIGHT reaches leftRight through CalcCellValue, where countUTF16String validates one unit but utf8.RuneCountInString supplies the slice index in another. When RIGHT evaluates supplementary-plane text with a requested character count between the rune count and UTF-16 code-unit count, the inconsistent units produce a negative rune-slice index, allowing an attacker to panic during formula evaluation. No fixed version is available as of this review.
Last activity 7 Oct 2026. Patch Forecast updates every hour.