Stack overflow in Excelize ANCHORARRAY formula evaluation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-674.
Summary
The Excelize Go library from 2.8.1 through 2.11.0 contains uncontrolled recursion (CWE-674) in the ANCHORARRAY formula function. ANCHORARRAY calls the exported CalcCellValue function instead of the cell resolver, so each recursive hop resets cycle state and mutually referencing dynamic-array formulas recurse without limit. A remote attacker without privileges can abort the process with a fatal Go stack overflow when such formulas are evaluated. The references link to a public exploit.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.8.1 to 2.11.0, ANCHORARRAY recursively calls the exported CalcCellValue function, creating a fresh calculation context at each cycle and bypassing in-flight and iteration controls. ANCHORARRAY calls CalcCellValue instead of cellResolver, so each recursive hop receives a new calcContext and loses cycle state. When mutually referencing dynamic-array formulas are evaluated directly or through formula-evaluating APIs, each recursion hop resets the cycle budget and prevents completion-based caches from breaking the cycle, allowing an attacker to cause a fatal Go stack overflow and abort the process. No fixed version is available as of this review.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| qax-os | excelize | 2.8.1 – 2.11.0 | — | No fix listed | CNA |
| — | github.com/xuri/excelize/v2 (Go) | 2.8.1 to before 2.11.1-0.20260911060113-ea12859e43c6 | 2.11.1-0.20260911060113-ea12859e43c6 | Patch available | GHSA-wp2g-vpjj-g53r |
- excelize Vendorqax-os Affected 2.8.1 – 2.11.0 Fixed in — No fix listed CNA
- github.com/xuri/excelize/v2 (Go) Vendor— Affected 2.8.1 to before 2.11.1-0.20260911060113-ea12859e43c6 Fixed in 2.11.1-0.20260911060113-ea12859e43c6 Patch available GHSA-wp2g-vpjj-g53r
Remediation
Update the Go module github.com/xuri/excelize/v2 to 2.11.1-0.20260911060113-ea12859e43c6, the fixed version. The sources list no fixed version for excelize.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · GHSA-wp2g-vpjj-g53r github.com/xuri/excelize/v2 (Go) Fixed in 2.11.1-0.20260911060113-ea12859e43c6 Advisory →
Timeline
- 2026-10-07 Threatist record created from CVE-2026-107216
- 2026-10-07 CISA SSVC decision points changed
- 2026-10-07 Priority changed: MEDIUM → LOW
- 2026-10-08 Alias added: GHSA-wp2g-vpjj-g53r
- 2026-10-08 Fix available: Go/github.com/xuri/excelize/[email protected] · GHSA-wp2g-vpjj-g53r
- 2026-10-08 CVSS score added · GHSA-wp2g-vpjj-g53r
- 2026-10-08 Weakness changed · GHSA-wp2g-vpjj-g53r
- 2026-10-08 4 new references · GHSA-wp2g-vpjj-g53r
References
More qax-os Excelize vulnerabilities
- TI-2026-42325 Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation CVSS 4.0HIGH 8.7
- TI-2026-69266 Integer overflow in Excelize column parsing causes process panic CVSS 3.1HIGH 7.5
- TI-2026-69263 Excelize crafted OLE files cause memory exhaustion and panic CVSS 3.1HIGH 7.5
- TI-2026-69262 Unrecoverable panics in Excelize Decrypt on malformed OLE workbooks CVSS 3.1HIGH 7.5
- TI-2026-69260 Unbounded row number in Excelize lets crafted spreadsheets hang reads CVSS 3.1HIGH 7.5
- TI-2026-38996 Excelize: Unbounded Row Index Allocation in Worksheet Parser (checkSheet OOM/Panic DoS) CVSS 3.1HIGH 7.5
Sources
- CVE-2026-107216 · CVE Program
- CVE-2026-107216 · NVD
- FIRST EPSS
- GHSA-wp2g-vpjj-g53r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences