---
id: CVE-2026-107223
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.1.0 to 2.11.0, flatCols expands file-loaded column ranges
  without validating Min and Max against the worksheet column limit. SetColWidth
  reach…
severity: high
cvss: 7.1
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'
cwe:
  - CWE-789
vendor: xuri
product: github.com/xuri/excelize/v2
affected:
  - 'github.com/xuri/excelize/v2 >= 2.1.0, < 2.11.1-0.20260807015645-a54c578af309'
patched:
  - github.com/xuri/excelize/v2 2.11.1-0.20260807015645-a54c578af309
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T19:17:34.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107223'
references:
  - url: >-
      https://github.com/qax-os/excelize/commit/a54c578af309fa81f448143ed2b7a91192cc58a7
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/pull/2370'
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/security/advisories/GHSA-fq3v-74gv-27gm'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-fq3v-74gv-27gm'
tags:
  - nvd
  - ghsa
  - go
  - cve.org
aliases:
  - GHSA-fq3v-74gv-27gm
ecosystem: go
cvssSource: cna
ingestedAt: '2026-10-07T20:46:46.977Z'
---

## Overview

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.1.0 to 2.11.0, flatCols expands file-loaded column ranges without validating Min and Max against the worksheet column limit. SetColWidth reaches flatCols, which expands xlsxCol.Min through xlsxCol.Max without enforcing MaxColumns. When a crafted worksheet supplies an oversized col max attribute and the application invokes a column mutator, flatCols performs a deep copy and append for every attacker-selected column number, allowing an attacker to consume excessive CPU and memory or trigger OOM. 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-107223)

Affected packages:

- `github.com/xuri/excelize/v2 >= 2.1.0, < 2.11.1-0.20260807015645-a54c578af309`

Patched in:

- `github.com/xuri/excelize/v2 2.11.1-0.20260807015645-a54c578af309`

Source: https://github.com/advisories/GHSA-fq3v-74gv-27gm
