---
id: CVE-2026-107221
title: >-
  Excelize is a Go language library for reading and writing Microsoft Excel
  spreadsheets
summary: >-
  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 c…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-787
vendor: xuri
product: github.com/xuri/excelize/v2
affected:
  - 'github.com/xuri/excelize/v2 >= 2.0.0, < 2.11.1-0.20260816084418-46a5eb289448'
patched:
  - github.com/xuri/excelize/v2 2.11.1-0.20260816084418-46a5eb289448
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:17:11.580'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107221'
references:
  - url: >-
      https://github.com/qax-os/excelize/commit/46a5eb289448e40fbc7d3294589b03861fb822f0
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/pull/2376'
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/security/advisories/GHSA-8mcq-6wmr-jrjv'
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/security/advisories/GHSA-8mcq-6wmr-jrjv'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-8mcq-6wmr-jrjv'
tags:
  - nvd
  - ghsa
  - go
  - cve.org
  - exploit-available
aliases:
  - GHSA-8mcq-6wmr-jrjv
ecosystem: go
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-07T19:17:00.546092Z'
ingestedAt: '2026-10-07T20:46:46.976Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-107221)

Affected packages:

- `github.com/xuri/excelize/v2 >= 2.0.0, < 2.11.1-0.20260816084418-46a5eb289448`

Patched in:

- `github.com/xuri/excelize/v2 2.11.1-0.20260816084418-46a5eb289448`

Source: https://github.com/advisories/GHSA-8mcq-6wmr-jrjv
