{"id":"CVE-2026-107218","revision":"63d763b8516c4adcadf421b4c8ffa8ef","records":[{"revision":"63d763b8516c4adcadf421b4c8ffa8ef","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-107218","aliases":[],"title":"Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics","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.","state":0,"publishedAt":"2026-10-07T18:29:38.606+00:00","modifiedAt":"2026-10-07T22:05:36.155+00:00","affected":[{"ecosystem":"Vendor product","name":"excelize","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"qax-os\",\n                    \"product\": \"excelize\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 2.10.1, <= 2.11.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-107218","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-107218","identifiers":["CVE-2026-107218"]},"retained":false,"historicalAffected":[]}],"coverage":[]}