Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/xuri/excelize/v2
  4. ›
  5. CVE-2026-107223

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

October 7, 2026

The max attribute of a <col> element in xl/worksheets/sheetN.xml is read verbatim on open with no check against MaxColumns, and flatCols() then walks Min..Max doing a deepcopy.Copy and append per iteration. Executed: max="300000", only about 18x past the real 16384 limit, cost 46.2 s of CPU and 122 MB on a single SetColWidth call, and the growth is linear in max up to 2^31-1.

Confirmed at ae2113b (HEAD at the time of audit).

References

  • github.com/advisories/GHSA-fq3v-74gv-27gm
  • github.com/qax-os/excelize/commit/a54c578af309fa81f448143ed2b7a91192cc58a7
  • github.com/qax-os/excelize/pull/2370
  • github.com/qax-os/excelize/security/advisories/GHSA-fq3v-74gv-27gm
  • nvd.nist.gov/vuln/detail/CVE-2026-107223

Code Behaviors & Features

Detect and mitigate CVE-2026-107223 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.1.0 before 2.11.1-0.20260807015645-a54c578af309

Fixed versions

  • 2.11.1-0.20260807015645-a54c578af309

Solution

Upgrade to version 2.11.1-0.20260807015645-a54c578af309 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value

Source file

go/github.com/xuri/excelize/v2/CVE-2026-107223.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:43 +0000.