# CVE-2026-107222: Excelize: GetConditionalFormats indexes conditional-formatting rule sub-elements with no length or nil check

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-10-07T18:45:20.249Z
- Modified: 2026-11-05T23:25:39.218Z
- Also known as: GHSA-rxcj-4pj5-74gr, GO-2026-6682
- Weaknesses: CWE-129, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- qax-os excelize: >= 2.7.0, <= 2.11.0
- github.com/xuri/excelize/v2 (Go): from 2.7.0 before 2.11.1-0.20260812075026-be7a16390fa6
- excelize excelize: from 2.7.0 up to 2.11.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/qax-os/excelize/security/advisories/GHSA-rxcj-4pj5-74gr> (exploit, advisory, vendor-advisory, web)
- <https://github.com/qax-os/excelize/commit/be7a16390fa69c71d3ca618c741d1a2b5ed362cd> (exploit, fix, patch, web)
- <https://github.com/qax-os/excelize/pull/2375> (issue-tracking, patch, web)
- <https://github.com/qax-os/excelize> (package)

## Sources

- CVE List: [CVE-2026-107222](https://www.cve.org/CVERecord?id=CVE-2026-107222), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-rxcj-4pj5-74gr](https://github.com/advisories/GHSA-rxcj-4pj5-74gr), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6682](https://pkg.go.dev/vuln/GO-2026-6682), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-107222](https://nvd.nist.gov/vuln/detail/CVE-2026-107222), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-107222 · Whole record: https://cve.day/CVE-2026-107222.json · Rebuilt by cve.day 2026-11-25T22:59:43.085Z
