# 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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T18:41:46.047Z
- Modified: 2026-11-05T23:26:01.625Z
- Also known as: GHSA-8mcq-6wmr-jrjv, GO-2026-6676
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- qax-os excelize: >= 2.0.0, <= 2.11.0
- github.com/xuri/excelize/v2 (Go): from 2.0.0 before 2.11.1-0.20260816084418-46a5eb289448; before 2.11.1-0.20260816084418-46a5eb289448
- excelize excelize: from 2.0.0 up to 2.11.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/qax-os/excelize/security/advisories/GHSA-8mcq-6wmr-jrjv> (exploit, advisory, vendor-advisory, web)
- <https://github.com/qax-os/excelize/pull/2376> (issue-tracking, patch, web)
- <https://github.com/qax-os/excelize/commit/46a5eb289448e40fbc7d3294589b03861fb822f0> (fix, patch, web)
- <https://github.com/qax-os/excelize> (package)

## Sources

- CVE List: [CVE-2026-107221](https://www.cve.org/CVERecord?id=CVE-2026-107221), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-8mcq-6wmr-jrjv](https://github.com/advisories/GHSA-8mcq-6wmr-jrjv), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6676](https://pkg.go.dev/vuln/GO-2026-6676), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-107221](https://nvd.nist.gov/vuln/detail/CVE-2026-107221), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-107221 · Whole record: https://cve.day/CVE-2026-107221.json · Rebuilt by cve.day 2026-11-25T22:59:43.084Z
