# CVE-2026-107220: Excelize: Panic in cellInRange on a worksheet with an empty mergeCell ref

- 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.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T18:37:52.712Z
- Modified: 2026-11-05T23:26:10.486Z
- Also known as: GHSA-g27h-8qhm-6pff, GO-2026-6680
- Weaknesses: CWE-125, CWE-129
- 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.7.1 to 2.11.0, mergeCellsParser leaves the cached rectangle empty for an empty mergeCell ref and then passes that empty slice to cellInRange without a length check. GetCellValue reaches mergeCellsParser, which passes an empty rectangle derived from the mergeCell ref attribute into cellInRange. When a crafted worksheet contains an empty mergeCell ref and a non-streaming cell API reads the worksheet, cellInRange indexes four positions in an empty slice, allowing an attacker to panic on the first affected cell operation. No fixed version is available as of this review.

(As written by CVE List.)

## Affected

- qax-os excelize: >= 2.7.1, <= 2.11.0
- github.com/xuri/excelize/v2 (Go): from 2.7.1 before 2.11.1-0.20260820023833-99903a3240e5
- excelize excelize: from 2.7.1 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-g27h-8qhm-6pff> (exploit, advisory, vendor-advisory, web)
- <https://github.com/qax-os/excelize/pull/2379> (issue-tracking, patch, web)
- <https://github.com/qax-os/excelize/commit/99903a3240e58a47ff28fb8e05a03bd9d496ec24> (fix, patch, web)
- <https://github.com/qax-os/excelize> (package)

## Sources

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

---

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