Read the docs

Stack overflow in Excelize ANCHORARRAY formula evaluation

Priority LOW 39CWE-674Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00375 31st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/xuri/excelize/v2 (Go): 2.11.1-0.20260911060113-ea12859e43c6

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

VendorProductAffected versionsFixed inStatusSource
qax-osexcelize2.8.1 – 2.11.0—No fix listedCNA
—github.com/xuri/excelize/v2 (Go)2.8.1 to before 2.11.1-0.20260911060113-ea12859e43c62.11.1-0.20260911060113-ea12859e43c6Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*2.8.1 – 2.11.0Vulnerableqax-os
  • cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:* Versions 2.8.1 – 2.11.0 Vulnerable ·qax-os

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

  1. 2026-10-07 Threatist record created from CVE-2026-107216
  2. 2026-10-07 CISA SSVC decision points changed
  3. 2026-10-07 Priority changed: MEDIUM → LOW
  4. 2026-10-08 Alias added: GHSA-wp2g-vpjj-g53r
  5. 2026-10-08 Fix available: Go/github.com/xuri/excelize/[email protected] · GHSA-wp2g-vpjj-g53r
  6. 2026-10-08 CVSS score added · GHSA-wp2g-vpjj-g53r
  7. 2026-10-08 Weakness changed · GHSA-wp2g-vpjj-g53r
  8. 2026-10-08 4 new references · GHSA-wp2g-vpjj-g53r

References

  • 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
See all 17 →

Sources