CVE-2026-107218

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductExcelize
PublishedOct 7, 2026
First seenOct 7, 2026
Weakness typeCWE-129CWE-129

How to fix

Update
  • github.com/xuri/excelize/v22.11.1-0.20260908032718-ecd99d761fe0 or later

Affected products

ProductAffected versionsFixed in
excelize excelize2.10.1 ≤ v ≤ 2.11.0—
github.com/xuri/excelize/v2Go2.10.1 ≤ v < 2.11.1-0.20260908032718-ecd99d761fe02.11.1-0.20260908032718-ecd99d761fe0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.