Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Excelize | Excelize | >= 2.10.1, <= 2.11.0 |
Related Weaknesses (CWE)
References
- https://github.com/qax-os/excelize/commit/ecd99d761fe0489f1ed308e2f7dc2e0502d1a3Patch
- https://github.com/qax-os/excelize/pull/2390Issue TrackingPatch
- https://github.com/qax-os/excelize/security/advisories/GHSA-8jjq-8j9w-m2v6ExploitVendor Advisory
FAQ
What is CVE-2026-107218?
CVE-2026-107218 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2026-107218?
CVE-2026-107218 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-107218?
Check the references section above for vendor advisories and patch information. Affected products include: Excelize Excelize.