Vulnerability
CVE-2026-107218
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.
4 advisories report this vulnerability, across 3 ecosystems.
Advisories
-
GHSA-8jjq-8j9w-m2v6
Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics
-
GO-2026-6675
Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics in github.com/xuri/excelize
-
SUSE-SU-2026:24730-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2026:22336-1
Security update for govulncheck-vulndb