CVE-2026-107221 Excelize: 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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| excelize | >= 2.0.0, <= 2.11.0 | after 2.11.0 | Fixed |
| xuri github.com/xuri/excelize/v2(Go) | < 2.11.1-0.20260816084418-46a5eb289448; >= 2.0.0, < 2.11.1-0.20260816084418-46a5eb289448 | 2.11.1-0.20260816084418-46a5eb289448 | Fixed |
| qax-os excelize | = >= 2.0.0, <= 2.11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xuri github.com/xuri/excelize/v2(Go) | >= 2.0.0, < 2.11.1-0.20260816084418-46a5eb289448 | 2.11.1-0.20260816084418-46a5eb289448 |
| xuri github.com/xuri/excelize/v2(Go) | < 2.11.1-0.20260816084418-46a5eb289448 | 2.11.1-0.20260816084418-46a5eb289448 |
| qax-os excelize | = >= 2.0.0, <= 2.11.0 | No fix listed |
| excelize | >= 2.0.0, <= 2.11.0 | No fix listed |
References
- https://github.com/qax-os/excelize/security/advisories/GHSA-8mcq-6wmr-jrjv exploit vendor-advisory
- https://github.com/qax-os/excelize/pull/2376 issue-tracking patch
- https://github.com/qax-os/excelize/commit/46a5eb289448e40fbc7d3294589b03861fb822f0 patch
- github.com product
- github.com
- ENISA EUVD EUVD-2026-94551 third-party-advisory