CVE-2026-107218 Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| excelize | >= 2.10.1, <= 2.11.0 | after 2.11.0 | Fixed |
| xuri github.com/xuri/excelize/v2(Go) | >= 2.10.1, < 2.11.1-0.20260908032718-ecd99d761fe0 | 2.11.1-0.20260908032718-ecd99d761fe0 | Fixed |
| qax-os excelize | = >= 2.10.1, <= 2.11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xuri github.com/xuri/excelize/v2(Go) | >= 2.10.1, < 2.11.1-0.20260908032718-ecd99d761fe0 | 2.11.1-0.20260908032718-ecd99d761fe0 |
| qax-os excelize | = >= 2.10.1, <= 2.11.0 | No fix listed |
| excelize | >= 2.10.1, <= 2.11.0 | No fix listed |
References
- https://github.com/qax-os/excelize/security/advisories/GHSA-8jjq-8j9w-m2v6 exploit vendor-advisory
- https://github.com/qax-os/excelize/pull/2390 issue-tracking patch
- https://github.com/qax-os/excelize/commit/ecd99d761fe0489f1ed308e2f7dc2e0502d1a396 patch
- github.com product
- github.com
- ENISA EUVD EUVD-2026-94548 third-party-advisory