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

CVE-2026-107220: Excelize: Panic in cellInRange on a worksheet with an empty mergeCell ref

October 7, 2026

A worksheet containing <mergeCell ref=""/> makes mergeCellsParser leave the cached rectangle empty, and cellInRange then indexes that empty slice without a length check. Every non-streaming cell API panics with index out of range [0] with length 0 on the first cell read after opening the file.

References

  • github.com/advisories/GHSA-g27h-8qhm-6pff
  • github.com/qax-os/excelize/commit/99903a3240e58a47ff28fb8e05a03bd9d496ec24
  • github.com/qax-os/excelize/pull/2379
  • github.com/qax-os/excelize/security/advisories/GHSA-g27h-8qhm-6pff
  • nvd.nist.gov/vuln/detail/CVE-2026-107220

Code Behaviors & Features

Detect and mitigate CVE-2026-107220 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.1 before 2.11.1-0.20260820023833-99903a3240e5

Fixed versions

  • 2.11.1-0.20260820023833-99903a3240e5

Solution

Upgrade to version 2.11.1-0.20260820023833-99903a3240e5 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-125: Out-of-bounds Read
  • CWE-129: Improper Validation of Array Index

Source file

go/github.com/xuri/excelize/v2/CVE-2026-107220.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:50 +0000.