CVE-2026-107221
MEDIUM 6.5CVSS 3.1Excelize: a row whose earlier cell has a higher column reference than its last cell panics index out of range on almost every worksheet read API
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.0.0 to 2.11.0, checkRow sizes its target cell slice from the last cell in XML document order and then re-scatters every cell by its explicit column reference. GetCellValue reaches workSheetReader and checkRow, where targetList is too short for an earlier out-of-order cell. When a crafted row places a higher-column cell before a lower-column final cell and a non-streaming worksheet API reads the sheet, the earlier cell's column index exceeds the slice length derived from the final cell, allowing an attacker to cause an unrecovered panic and terminate the process. No fixed version is available as of this review.
- Published
- 7 Oct 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-787
- Also known as
- GHSA-8mcq-6wmr-jrjvGO-2026-6676
- Sources
- NVDJSONOSV GHSA-8mcq-6wmr-jrjvJSONOSV GO-2026-6676JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | excelize | excelizecpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:* |
>= 2.0.0, <= 2.11.0 | |
| OSV | Go | github.com/xuri/excelize/v2 | >= 2.0.0, < 2.11.1-0.20260816084418-46a5eb289448 | 2.11.1-0.20260816084418-46a5eb289448 |
| OSV | Go | github.com/xuri/excelize/v2 | < 2.11.1-0.20260816084418-46a5eb289448 | 2.11.1-0.20260816084418-46a5eb289448 |
References
- https://github.com/qax-os/excelize/commit/46a5eb289448e40fbc7d3294589b03861fb822f0 · Patch, WEB, FIX
- https://github.com/qax-os/excelize/pull/2376 · Issue Tracking, Patch, WEB
- https://github.com/qax-os/excelize/security/advisories/GHSA-8mcq-6wmr-jrjv · Exploit, Vendor Advisory, WEB, ADVISORY
- https://github.com/qax-os/excelize · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 7 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Oct 2026)