CVE-2026-107223

Excelize: Unbounded <col max> attribute is loaded with no MaxColumns check and expanded per-column by flatCols(), so any column mutator hangs or OOMs the process

Published Oct 7, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Excelize, a Go library for Excel file handling, contains a flaw where a column definition with an excessively large max attribute is processed without validation. When a column mutator is invoked, the library copies and expands each column entry, causing substantial CPU usage and memory allocation. The outcome is an application hang or out‑of‑memory termination, compromising availability and potentially leading to untrusted data causing resource exhaustion on the host.

Affected Systems

The qax-os:excelize library, versions 2.1.0 through 2.11.0, is affected. Systems using these library releases that load spreadsheets containing oversized column definitions are vulnerable.

Risk and Exploitability

The CVSS score of 7.1 indicates a medium to high severity. There is no public exploit listed and the EPSS score is unavailable, suggesting limited evidence of exploitation in the wild. The flaw is a Memory Allocation weakness (CWE‑789). Attackers can craft a sheet with a large <col max> value and trigger a column mutator to consume CPU and memory resources, potentially causing denial of service. The lack of a vendor patch at this time elevates the risk for environments that process untrusted spreadsheets.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Implement resource limits on the process to contain CPU and memory usage
  • Validate and sanitize spreadsheet input before passing it to Excelize, removing or capping excessively large column ranges
  • Filter out or reject spreadsheets with a <col max> value beyond a safe threshold until an official library update is released

Generated by OpenCVE AI on October 7, 2026 at 20:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fq3v-74gv-27gm Excelize: Unbounded <col max> attribute is loaded with no MaxColumns check and expanded per-column by flatCols(), so any column mutator hangs or OOMs the process
History
Type Values Removed Values Added
First Time appeared Excelize
Excelize excelize
CPEs cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*
Vendors & Products Excelize
Excelize excelize
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Qax-os
Qax-os excelize
Vendors & Products Qax-os
Qax-os excelize
Type Values Removed Values Added
Description 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.
Title Excelize: Unbounded <col max> attribute is loaded with no MaxColumns check and expanded per-column by flatCols(), so any column mutator hangs or OOMs the process
Weaknesses CWE-789
References
Metrics cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 7, 2026, 10:05 PM
Reserved
Oct 7, 2026, 2:34 PM
Status
Analyzed
Published
Oct 7, 2026, 7:17 PM
Modified
Oct 13, 2026, 2:18 PM