Skip to main content
← All vulnerabilities
CVE-2026-107220GHSA-G27H-8QHM-6PFF

Excelize: Panic in cellInRange on a worksheet with an empty mergeCell ref

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.11.1-0.20260820023833-99903a3240e5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • qax-os excelize

    From 2.7.1 · through 2.11.0

  • github.com/xuri/excelize/v2Go

    From 2.7.1 · fixed in 2.11.1-0.20260820023833-99903a3240e5

References 3

GitHub · qax-os/excelize