Skip to content

CVE-2026-107216 Excelize ANCHORARRAY: mutually-referencing array formulas recurse unboundedly via re-entrant CalcCellValue, causing a fatal stack overflow

HighCVSS 7.5 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
excelize >= 2.8.1, <= 2.11.0 after 2.11.0 Fixed
xuri github.com/xuri/excelize/v2(Go) >= 2.8.1, < 2.11.1-0.20260911060113-ea12859e43c6 2.11.1-0.20260911060113-ea12859e43c6 Fixed
qax-os excelize = >= 2.8.1, <= 2.11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
xuri github.com/xuri/excelize/v2(Go) >= 2.8.1, < 2.11.1-0.20260911060113-ea12859e43c6 2.11.1-0.20260911060113-ea12859e43c6
qax-os excelize = >= 2.8.1, <= 2.11.0 No fix listed
excelize >= 2.8.1, <= 2.11.0 No fix listed

References