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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-07 · Modified: 2026-10-10
- Aliases: GHSA-g27h-8qhm-6pff, GO-2026-6680
- Record: https://cvemate.com/vulnerability/CVE-2026-107220 · JSON: https://cvemate.com/vulnerability/CVE-2026-107220/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.264%, percentile 19.501%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- excelize excelize: ≥ 2.7.1, ≤ 2.11.0
- github.com/xuri/excelize v2 (Go): ≥ 2.7.1, \< 2.11.1-0.20260820023833-99903a3240e5
- qax-os excelize: ≥ 2.7.1, ≤ 2.11.0

## References

- <https://github.com/qax-os/excelize/security/advisories/GHSA-g27h-8qhm-6pff>
- <https://github.com/qax-os/excelize/pull/2379>
- <https://github.com/qax-os/excelize/commit/99903a3240e58a47ff28fb8e05a03bd9d496ec24>
- <https://github.com/qax-os/excelize>

---

Data as of 2026-12-05T18:19:24.142Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
