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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-07 · Modified: 2026-10-07
- Aliases: GHSA-8jjq-8j9w-m2v6, GO-2026-6675
- Record: https://cvemate.com/vulnerability/CVE-2026-107218 · JSON: https://cvemate.com/vulnerability/CVE-2026-107218/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.309%, percentile 25.53%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- excelize excelize: ≥ 2.10.1, ≤ 2.11.0
- github.com/xuri/excelize v2 (Go): ≥ 2.10.1, \< 2.11.1-0.20260908032718-ecd99d761fe0
- qax-os excelize: ≥ 2.10.1, ≤ 2.11.0

## References

- <https://github.com/qax-os/excelize/security/advisories/GHSA-8jjq-8j9w-m2v6>
- <https://github.com/qax-os/excelize/pull/2390>
- <https://github.com/qax-os/excelize/commit/ecd99d761fe0489f1ed308e2f7dc2e0502d1a396>
- <https://github.com/qax-os/excelize>

---

Data as of 2026-12-05T14:23:09.123Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
