{"id":"CVE-2026-107218","published":"2026-10-07T18:29:38Z","modified":"2026-10-07T22:05:36Z","title":"Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics","vendor":"qax-os","product":"excelize","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00501,"percentile":0.35851,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://github.com/qax-os/excelize/security/advisories/GHSA-8jjq-8j9w-m2v6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/qax-os/excelize/pull/2390","tags":["x_refsource_MISC"]},{"url":"https://github.com/qax-os/excelize/commit/ecd99d761fe0489f1ed308e2f7dc2e0502d1a396","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":7.17},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"qax-os","affectedVersions":[{"vendor":"qax-os","product":"excelize","versions":[">= 2.10.1, <= 2.11.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-07T22:03:39.825103Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/xuri/excelize/v2","vulnerableRanges":[">=2.10.1, <2.11.1-0.20260908032718-ecd99d761fe0"],"patched":["2.11.1-0.20260908032718-ecd99d761fe0"],"from":["GHSA-8jjq-8j9w-m2v6","GO-2026-6675"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-94548","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-qax-os-excelize-cve-2026-107216","parents":[{"from":"CVE-2026-107216","to":"CVE-2026-107218","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["calc.go"],"commits":["https://github.com/qax-os/excelize/commit/ea12859e43c64d498ecf839263c5f917391f3316","https://github.com/qax-os/excelize/commit/ecd99d761fe0489f1ed308e2f7dc2e0502d1a396"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-107221","published":"2026-10-07","fixed":"2.11.1-0.20260816084418-46a5eb289448","kev":false},{"cve":"CVE-2026-107220","published":"2026-10-07","fixed":"2.11.1-0.20260820023833-99903a3240e5","kev":false},{"cve":"CVE-2026-107219","published":"2026-10-07","fixed":"2.11.1-0.20260906004932-2badfcd5841d","kev":false,"link":{"from":"CVE-2026-107219","to":"CVE-2026-107218","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/xuri/excelize/v2","fromFixed":"2.11.1-0.20260906004932-2badfcd5841d","toFixed":"2.11.1-0.20260908032718-ecd99d761fe0","daysApart":0}]}},{"cve":"CVE-2026-107218","published":"2026-10-07","fixed":"2.11.1-0.20260908032718-ecd99d761fe0","kev":false},{"cve":"CVE-2026-107217","published":"2026-10-07","fixed":"2.11.1-0.20260910071107-696050fbf14e","kev":false,"link":{"from":"CVE-2026-107218","to":"CVE-2026-107217","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/xuri/excelize/v2","fromFixed":"2.11.1-0.20260908032718-ecd99d761fe0","toFixed":"2.11.1-0.20260910071107-696050fbf14e","daysApart":0}]}},{"cve":"CVE-2026-107216","published":"2026-10-07","fixed":"2.11.1-0.20260911060113-ea12859e43c6","kev":false},{"cve":"CVE-2026-107215","published":"2026-10-07","fixed":"2.11.1-0.20260912113515-5f636f9dcde5","kev":false}],"package":"Go:github.com/xuri/excelize/v2"}}