UNKNOWN Go

Unbounded memory allocation via streaming row reader in github.com/xuri/excelize

GO-2026-6453 · CVE-2026-59161 · GHSA-q5j5-6p94-4gwc

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

In github.com/xuri/excelize/v2, the streaming worksheet reader used by Rows and GetRows does not enforce the maximum row limit (TotalRows) on row "r" attributes. A crafted spreadsheet with an out-of-bounds row index causes GetRows to allocate empty row slices up to the specified row number, leading to excessive memory consumption and denial of service.

Ready to move

Start Securing

Free, no credit card | First findings in minutes