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

CVE-2026-59161: Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation

September 10, 2026

Excelize’s prior row-bound fix for GHSA-h69g / CVE-2026-54063 protects the checked worksheet parser, but the streaming worksheet reader used by Rows and GetRows does not enforce the same TotalRows bound on the row r attribute. A small XLSX file can set a row number above Excelize’s maximum row (1048576) and omit the cell coordinate. GetRows then appends empty rows up to the attacker-controlled row index and returns success.

This was reproduced on the current default branch commit 1213a8bd7c5ab360554603ac5c995ccaf6eb4314 and the latest release tag v2.10.1 (5ad5ab3af0054c55bdce09f1530085600e9f2e45).

References

  • github.com/advisories/GHSA-q5j5-6p94-4gwc
  • github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453
  • github.com/qax-os/excelize/pull/2331
  • github.com/qax-os/excelize/releases/tag/v2.11.0
  • github.com/qax-os/excelize/security/advisories/GHSA-q5j5-6p94-4gwc
  • nvd.nist.gov/vuln/detail/CVE-2026-59161

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.11.0

Fixed versions

  • 2.11.0

Solution

Upgrade to version 2.11.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:20:12 +0000.