Vulnerability · Published Oct 7, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity security flaw in excelize from qax-os. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 76.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/xuri/excelize/v22.11.1-0.20260908032718-ecd99d761fe0GHSA-8jjq-8j9w-m2v6
Gogithub.com/xuri/excelize/v22.11.1-0.20260908032718-ecd99d761fe0GO-2026-6675

Affected products (as reported)

VendorProductVersions
qax-os excelize >= 2.10.1, <= 2.11.0

Weakness: CWE-129 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References