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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T18:29:38.606Z
- Modified: 2026-11-05T23:26:05.817Z
- Also known as: GHSA-8jjq-8j9w-m2v6, GO-2026-6675
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- qax-os excelize: >= 2.10.1, <= 2.11.0
- github.com/xuri/excelize/v2 (Go): from 2.10.1 before 2.11.1-0.20260908032718-ecd99d761fe0
- excelize excelize: from 2.10.1 up to 2.11.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/qax-os/excelize/security/advisories/GHSA-8jjq-8j9w-m2v6> (exploit, advisory, vendor-advisory, web)
- <https://github.com/qax-os/excelize/pull/2390> (issue-tracking, patch, web)
- <https://github.com/qax-os/excelize/commit/ecd99d761fe0489f1ed308e2f7dc2e0502d1a396> (fix, patch, web)
- <https://github.com/qax-os/excelize> (package)

## Sources

- CVE List: [CVE-2026-107218](https://www.cve.org/CVERecord?id=CVE-2026-107218), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-8jjq-8j9w-m2v6](https://github.com/advisories/GHSA-8jjq-8j9w-m2v6), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6675](https://pkg.go.dev/vuln/GO-2026-6675), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-107218](https://nvd.nist.gov/vuln/detail/CVE-2026-107218), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-107218 · Whole record: https://cve.day/CVE-2026-107218.json · Rebuilt by cve.day 2026-11-25T22:59:43.083Z
