Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/xuri/excelize/v2
  4. ›
  5. CVE-2026-107222

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

October 7, 2026

GetConditionalFormats reads sub-elements of a <cfRule> straight out of xl/worksheets/sheetN.xml and indexes them without checking length, and in one case without checking for nil. Three rule types are affected: cellIs, dataBar and colorScale. A workbook with a rule that is missing a child a real Excel file would always have panics the call.

References

  • github.com/advisories/GHSA-rxcj-4pj5-74gr
  • github.com/qax-os/excelize/commit/be7a16390fa69c71d3ca618c741d1a2b5ed362cd
  • github.com/qax-os/excelize/pull/2375
  • github.com/qax-os/excelize/security/advisories/GHSA-rxcj-4pj5-74gr
  • nvd.nist.gov/vuln/detail/CVE-2026-107222

Code Behaviors & Features

Detect and mitigate CVE-2026-107222 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.7.0 before 2.11.1-0.20260812075026-be7a16390fa6

Fixed versions

  • 2.11.1-0.20260812075026-be7a16390fa6

Solution

Upgrade to version 2.11.1-0.20260812075026-be7a16390fa6 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-129: Improper Validation of Array Index
  • CWE-476: NULL Pointer Dereference

Source file

go/github.com/xuri/excelize/v2/CVE-2026-107222.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.