Read the docs

Panic in Excelize cellInRange with an empty mergeCell ref

Priority MEDIUM 62CWE-125Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-125 and the CVSS impact.

Summary

Excelize from 2.7.1 through 2.11.0 is affected. mergeCellsParser caches an empty rectangle for a mergeCell element with an empty ref, and cellInRange then reads it without a length check (CWE-129). A crafted worksheet makes a non-streaming cell API panic, which denies service to the reading application. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00264 18th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/xuri/excelize/v2 (Go): 2.11.1-0.20260820023833-99903a3240e5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
qax-osexcelize2.7.1 – 2.11.0—No fix listedCNA
—github.com/xuri/excelize/v2 (Go)2.7.1 to before 2.11.1-0.20260820023833-99903a3240e52.11.1-0.20260820023833-99903a3240e5Patch availableGHSA-g27h-8qhm-6pff
  • excelize Vendorqax-os Affected 2.7.1 – 2.11.0 Fixed in — No fix listed CNA
  • github.com/xuri/excelize/v2 (Go) Vendor— Affected 2.7.1 to before 2.11.1-0.20260820023833-99903a3240e5 Fixed in 2.11.1-0.20260820023833-99903a3240e5 Patch available GHSA-g27h-8qhm-6pff

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*2.7.1 – 2.11.0Vulnerableqax-os
  • cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:* Versions 2.7.1 – 2.11.0 Vulnerable ·qax-os

Remediation

Upgrade github.com/xuri/excelize/v2 to 2.11.1-0.20260820023833-99903a3240e5 or later. The sources list no fixed version for excelize.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · GHSA-g27h-8qhm-6pff github.com/xuri/excelize/v2 (Go) Fixed in 2.11.1-0.20260820023833-99903a3240e5 Advisory →

Timeline

  1. 2026-10-07 Threatist record created from CVE-2026-107220
  2. 2026-10-07 Alias added: GHSA-g27h-8qhm-6pff
  3. 2026-10-07 Fix available: Go/github.com/xuri/excelize/[email protected] · GHSA-g27h-8qhm-6pff
  4. 2026-10-07 CVSS score added · GHSA-g27h-8qhm-6pff
  5. 2026-10-07 Weakness changed · GHSA-g27h-8qhm-6pff
  6. 2026-10-07 4 new references · GHSA-g27h-8qhm-6pff
  7. 2026-10-09 Priority changed: MEDIUM → LOW
  8. 2026-10-10 CISA SSVC decision points changed
  9. 2026-10-10 Priority changed: LOW → MEDIUM

References

  • TI-2026-42325 Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation CVSS 4.0HIGH 8.7
  • TI-2026-69266 Integer overflow in Excelize column parsing causes process panic CVSS 3.1HIGH 7.5
  • TI-2026-69263 Excelize crafted OLE files cause memory exhaustion and panic CVSS 3.1HIGH 7.5
  • TI-2026-69262 Unrecoverable panics in Excelize Decrypt on malformed OLE workbooks CVSS 3.1HIGH 7.5
  • TI-2026-69260 Unbounded row number in Excelize lets crafted spreadsheets hang reads CVSS 3.1HIGH 7.5
  • TI-2026-38996 Excelize: Unbounded Row Index Allocation in Worksheet Parser (checkSheet OOM/Panic DoS) CVSS 3.1HIGH 7.5
See all 17 →

Sources