Excelize panics on malformed conditional formatting rules
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- 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-129 and the CVSS impact.
Summary
Excelize, a Go library for Excel spreadsheets, from 2.7.0 through 2.11.0 reads conditional-format rules without checking their structure. A crafted worksheet with a cellIs, dataBar or colorScale rule missing expected children makes GetConditionalFormats index past an array or dereference nil (CWE-129, CWE-476). An attacker who supplies such a worksheet can crash any unprotected process that calls it. A public exploit is linked in the references.
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.7.0 to 2.11.0, conditional-format extraction indexes required child slices or dereferences an optional colorScale child without validating malformed rule structure. GetConditionalFormats reaches extractCondFmtCellIs and also indexes ColorScale.Cfvo, DataBar.Cfvo, and DataBar.Color without complete structural checks. When a crafted worksheet supplies a cellIs, dataBar, or colorScale rule missing expected children and the application calls GetConditionalFormats, missing formula, color, value-object, or colorScale data reaches an out-of-range index or nil dereference, allowing an attacker to panic and terminate an unprotected process. No fixed version is available as of this review.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- 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.7.0 – 2.11.0 | — | No fix listed | CNA |
| — | github.com/xuri/excelize/v2 (Go) | 2.7.0 to before 2.11.1-0.20260812075026-be7a16390fa6 | 2.11.1-0.20260812075026-be7a16390fa6 | Patch available | GHSA-rxcj-4pj5-74gr |
- excelize Vendorqax-os Affected 2.7.0 – 2.11.0 Fixed in — No fix listed CNA
- github.com/xuri/excelize/v2 (Go) Vendor— Affected 2.7.0 to before 2.11.1-0.20260812075026-be7a16390fa6 Fixed in 2.11.1-0.20260812075026-be7a16390fa6 Patch available GHSA-rxcj-4pj5-74gr
Remediation
The Go module github.com/xuri/excelize/v2 is fixed in 2.11.1-0.20260812075026-be7a16390fa6. The sources list no fixed version for excelize.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · GHSA-rxcj-4pj5-74gr github.com/xuri/excelize/v2 (Go) Fixed in 2.11.1-0.20260812075026-be7a16390fa6 Advisory →
Timeline
- 2026-10-07 Threatist record created from CVE-2026-107222
- 2026-10-07 Alias added: GHSA-rxcj-4pj5-74gr
- 2026-10-07 Fix available: Go/github.com/xuri/excelize/[email protected] · GHSA-rxcj-4pj5-74gr
- 2026-10-07 CVSS score added · GHSA-rxcj-4pj5-74gr
- 2026-10-07 Weakness changed · GHSA-rxcj-4pj5-74gr
- 2026-10-07 4 new references · GHSA-rxcj-4pj5-74gr
- 2026-10-08 CISA SSVC decision points changed
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-107222 · CVE Program
- CVE-2026-107222 · NVD
- FIRST EPSS
- GHSA-rxcj-4pj5-74gr · 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