CVE-2026-107218

GHSA-8jjq-8j9w-m2v6 · GO-2026-6675 · published 7 Oct 2026 · updated 5 Nov 2026

Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/xuri/excelize/v2 2.11.1-0.20260908032718-ecd99d761fe0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
qax-os>=2.10.1 <=2.11.0
go: github.com/xuri/excelize/v2>=2.10.1 <2.11.1-0.20260908032718-ecd99d761fe02.11.1-0.20260908032718-ecd99d761fe0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in github.com/xuri/excelize/v2 (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-107218 severity on Zeptric[![CVE-2026-107218](https://zeptric.io/badge/cve/CVE-2026-107218.svg)](https://zeptric.io/cve/CVE-2026-107218)