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