CVE-2026-54063

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, the checkSheet() function in github.com/xuri/excelize/v2 uses an attacker-controlled <row r="N"> XML attribute value directly as the length argument to make([]xlsxRow, row) without validating it against the Excel row limit (TotalRows = 1,048,576). A specially crafted XLSX file can trigger two denial-of-service variants: (A) an out-of-memory process kill when r=2147483647 forces a ~16 GB allocation attempt, and (B) a runtime panic via out-of-bounds slice indexing when r=-1. Any service that opens attacker-supplied XLSX files and calls GetCellValue is affected. No authentication is required. This issue is fixed in version 2.11.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*

History

25 Oct 2026, 15:10

Type Values Removed Values Added
Summary
  • (es) Excelize es una biblioteca del lenguaje Go para leer y escribir hojas de cálculo de Microsoft Excel. Antes de la versión 2.11.0, la función checkSheet() en github.com/xuri/excelize/v2 utiliza un valor de atributo XML <row r=’N’> controlado por un atacante directamente como argumento de longitud para make([]xlsxRow, row) sin validarlo contra el límite de filas de Excel (TotalRows = 1,048,576). Un archivo XLSX especialmente diseñado puede desencadenar dos variantes de denegación de servicio: (A) una terminación de proceso por falta de memoria cuando r=2147483647 fuerza un intento de asignación de ~16 GB, y (B) un pánico en tiempo de ejecución a través de la indexación de segmentos fuera de límites cuando r=-1. Cualquier servicio que abra archivos XLSX suministrados por un atacante y llame a GetCellValue se ve afectado. No se requiere autenticación. Este problema se solucionó en la versión 2.11.0.

Information

Published : 2026-07-10 17:16

Updated : 2026-10-25 15:10


NVD link : CVE-2026-54063

Mitre link : CVE-2026-54063

CVE.ORG link : CVE-2026-54063


JSON object : View

Products Affected

excelize

  • excelize
CWE
CWE-770

Allocation of Resources Without Limits or Throttling