# 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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.62% (percentile 44, 2026-11-28)
- **CWE:** CWE-789
- **Aliases:** GHSA-fq3v-74gv-27gm, GO-2026-6678
- **Published:** 2026-10-07T18:48:54.172Z
- **Modified:** 2026-11-18T00:15:04.341Z

## Who should check

- Projects that depend on Go package github.com/xuri/excelize/v2 (\>= 2.1.0, \< 2.11.1)
- Projects that depend on Go package github.com/360EntSecGroup-Skylar/excelize/v2 (\>= 2.1.0)
- Anyone running qax-os excelize \>= 2.1.0, \<= 2.11.0

## 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.

## Affected and fixed versions

- Go `github.com/xuri/excelize/v2`: affected \>= 2.1.0, \< 2.11.1; fixed 2.11.1, 2.11.1-0.20260807015645-a54c578af309 (osv)
- Go `github.com/360EntSecGroup-Skylar/excelize/v2`: affected \>= 2.1.0; fixed no fix listed yet (osv)
- qax-os excelize: \>= 2.1.0, \<= 2.11.0 (cvelist)

## Mitigation

- Upgrade github.com/xuri/excelize/v2 to one of 2.11.1, 2.11.1-0.20260807015645-a54c578af309 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-107223. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-107223.md
Affected: github.com/xuri/excelize/v2 >= 2.1.0, < 2.11.1; github.com/360EntSecGroup-Skylar/excelize/v2 >= 2.1.0
Fixed in: 2.11.1, 2.11.1-0.20260807015645-a54c578af309

Steps:
1. Search this machine and project for github.com/xuri/excelize/v2 (Go), github.com/360EntSecGroup-Skylar/excelize/v2 (Go), qax-os excelize: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-107223 being exploited?

There is no confirmed exploitation: CVE-2026-107223 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.62% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-107223?

High: CVSS 7.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-107223?

github.com/xuri/excelize/v2 \>= 2.1.0, \< 2.11.1; github.com/360EntSecGroup-Skylar/excelize/v2 \>= 2.1.0.

### Is there a fix for CVE-2026-107223?

Yes. Fixed in 2.11.1, 2.11.1-0.20260807015645-a54c578af309. Upgrade github.com/xuri/excelize/v2 to one of 2.11.1, 2.11.1-0.20260807015645-a54c578af309 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-107223?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/qax-os/excelize/security/advisories/GHSA-fq3v-74gv-27gm>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-107223>
- patch: <https://github.com/qax-os/excelize/pull/2370>
- patch: <https://github.com/qax-os/excelize/commit/a54c578af309fa81f448143ed2b7a91192cc58a7>
- other: <https://github.com/qax-os/excelize>
- other: <https://github.com/qax-os/excelize/releases/tag/v2.11.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-107223>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fq3v-74gv-27gm> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-6678> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-107223> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-107223>
