Skip to main content

Excelize CVE-2026-59161

| EUVDEUVD-2026-42936 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-07-10 GitHub_M GHSA-q5j5-6p94-4gwc
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft XLSX with oversized row r attribute
  2. Delivery
    Submit file to Excelize-backed service
  3. Exploit
    GetRows appends empty rows to attacker index
  4. Execution
    Memory and CPU exhausted
  5. Impact
    Service denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a target application built on Excelize prior to 2.11.0 parse an attacker-supplied XLSX file through the streaming Rows or GetRows readers. The concrete trigger is a worksheet row element (<row r="N">) whose r attribute exceeds the TotalRows limit of 1,048,576 while omitting any cell coordinate, which drives GetRows to append empty rows up to N. Per CVSS PR:N/UI:N/AC:L, no authentication, user interaction, or special configuration is needed beyond the application accepting untrusted spreadsheet input and invoking the affected read path. The practical limiting factor is exposure: applications that only process trusted, internally generated spreadsheets, or that never call Rows/GetRows on untrusted files, are not realistically exploitable, and impact is confined to availability with no data compromise.

Impact

This is a genuine but bounded risk. The CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H (score 8.7) is internally consistent: network-reachable input, low complexity, no privileges or user interaction, and impact limited strictly to availability (VC:N/VI:N/VA:H) - there is no data disclosure or code execution, only DoS. Real-world severity hinges on exposure: the danger materializes only where an application built on Excelize ingests untrusted, attacker-supplied XLSX files and calls Rows/GetRows; tooling that processes only trusted internal spreadsheets faces little practical risk. No EPSS score, KEV listing, or POC was supplied, so there is no evidence of active or automated exploitation, and the 'network' vector really means 'attacker controls the input file' rather than a directly listening service. Because a resource-exhaustion bug offers low weaponization value, this warrants patching on a normal cadence rather than emergency treatment - unless the library sits in an internet-facing file-upload path, where it should be prioritized.

Exploit ScenarioDerived

An attacker uploads a small, well-formed XLSX file to a service that uses a pre-2.11.0 Excelize to extract sheet contents via GetRows. The file contains a single row element with r set far above 1,048,576 and no cell coordinates, causing the parser to allocate empty rows up to that index and spike memory and CPU until the worker or host is exhausted. Given AV:N/AC:L/PR:N/UI:N, no authentication or interaction is required; no public POC has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 10, 2026

Uncontrolled memory and CPU consumption in Excelize (qax-os/excelize), the widely used Go library for reading and writing Microsoft Excel spreadsheets, before version 2.11.0 lets a crafted XLSX file trigger a denial of service. The streaming worksheet reader behind the Rows and GetRows APIs fails to enforce the TotalRows (1,048,576) limit on the row 'r' attribute, so a tiny file declaring an out-of-range row index with no cell coordinate forces GetRows to allocate empty rows up to that attacker-chosen index. No public exploit identified at time of analysis, but the trigger is trivial to construct and the fix is confined to a single validation check.

RemediationAI

Vendor-released patch: 2.11.0 - upgrade the dependency to v2.11.0 or later and rebuild/redeploy as the primary and complete fix; the corrective change is in PR https://github.com/qax-os/excelize/pull/2331 and commit 93f0b3caed37f21ef5079e3259c6c21dcfe68453, with details in advisory https://github.com/qax-os/excelize/security/advisories/GHSA-q5j5-6p94-4gwc. If an immediate upgrade is not possible, reduce exposure by refusing or sandboxing untrusted XLSX uploads, imposing strict per-request memory and CPU limits (for example container memory caps or a killable worker process) so one malicious file cannot exhaust the host, and where feasible pre-validating the worksheet XML to reject any row element whose r attribute exceeds 1,048,576 before calling GetRows. These controls add latency and processing complexity and do not remove the underlying amplification, so treat them as stopgaps until v2.11.0 is deployed.

Affected VersionsENISA

excelize < 2.11.0

Affected Packages

go github.com/xuri/excelize no fix
go github.com/xuri/excelize/v2 fix: 2.11.0
euvd excelize fix: 2.11.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Excelize is a popular pure-Go library for programmatically parsing and generating XLSX (Office Open XML SpreadsheetML) workbooks. In that format rows are represented as <row r="N"> elements, where N is a 1-based index; the specification caps a worksheet at 1,048,576 rows (the library's TotalRows constant). The vulnerability is a CWE-400 Uncontrolled Resource Consumption flaw: the streaming reader used by Rows/GetRows validates cell coordinates but does not clamp the standalone row 'r' attribute against TotalRows. When a row element supplies a huge r value (far above 1,048,576) and omits cell coordinates, the reader backfills empty rows to reach that index, so a few bytes of XML expand into millions-to-billions of in-memory row slots. The affected package per CPE is cpe:2.3:a:qax-os:excelize, all versions prior to 2.11.0.

Know when Excelize gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Attacker controls only an untrusted input file (AV:N, PR:N, UI:N, AC:L) and impact is a pure resource-exhaustion DoS, so C:N/I:N with A:H and unchanged scope.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 3.3 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 10, 2026 - 18:01 EUVD
CVE Published
Jul 10, 2026 - 15:47 cve.org
HIGH 8.7

DescriptionCVE.org

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, the streaming worksheet reader used by Rows and GetRows does not enforce the TotalRows limit on the row r attribute, allowing a small XLSX file with a row number above 1048576 and no cell coordinate to make GetRows append empty rows up to the attacker-controlled index and consume excessive memory and CPU. This issue is fixed in version 2.11.0.

Executive ViewAI

Why It Matters

Excelize, a widely-used Go library for reading and writing Excel files, contains a critical denial-of-service vulnerability (CVE-2026-59161, CVSS 8.7) in versions before 2.11.0. A single malformed XLSX file can trigger uncontrolled memory and CPU consumption, rendering affected applications unresponsive. Any organization processing Excel uploads-accounting systems, data pipelines, reporting tools, document management systems-faces immediate risk of service outages.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce maximum file size limits (reject XLSX exceeding 10-50 MB threshold); (2) Validate row count metadata before invoking GetRows/Rows APIs; (3) Run Excel processing in isolated processes with enforced memory/CPU limits; (4) Implement upload rate limiting per user/source IP; (5) Add real-time monitoring of process resource consumption during file operations. Effectiveness is partial-these controls reduce attack surface but do not eliminate the underlying vulnerability.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
High
de facto Excel read/write library across the Go ecosystem
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-54063 HIGH POC
7.5 Jul 10

Denial of service in the Excelize Go library (github.com/xuri/excelize/v2, a.k.a. qax-os/excelize) before 2.11.0 allows

CVE-2026-107212 HIGH POC
7.5 Oct 07

Denial of service in the Excelize Go library (versions 2.1.0 through 2.11.0) allows an attacker-controlled spreadsheet t

CVE-2026-107221 MEDIUM POC
6.5 Oct 07

A crafted Excel (.xlsx) file can crash any Go application that parses it with Excelize 2.0.0 through 2.11.0 using a non-

CVE-2026-107213 HIGH
8.7 Oct 07

Denial of service in Excelize 2.9.0 through 2.11.0 allows a crafted spreadsheet to panic and terminate a Go process that

CVE-2026-107211 HIGH
8.7 Oct 07

Go slice-bounds panic in the Excelize spreadsheet library versions 2.8.1 through 2.11.0 lets a crafted .xlsx workbook cr

CVE-2026-107219 HIGH
7.5 Oct 07

Denial of service in the Excelize Go library (versions 2.3.1 through 2.11.0) allows unauthenticated remote attackers to

CVE-2026-107217 HIGH
7.5 Oct 07

Denial of service in the Excelize Go spreadsheet library (github.com/xuri/excelize/v2 2.0.0-2.11.0 and github.com/xuri/e

CVE-2026-107216 HIGH
7.5 Oct 07

Uncontrolled recursion in the Excelize Go library (versions 2.8.1 through 2.11.0) allows a fatal Go stack overflow that

CVE-2026-107214 HIGH
7.5 Oct 07

Denial of service in Excelize versions 2.3.1 through 2.11.0 allows unauthenticated remote attackers to terminate the cal

CVE-2026-107215 HIGH
7.5 Oct 07

Memory exhaustion and runtime panic in the Excelize Go library (versions 2.3.1 through 2.11.0) let unauthenticated remot

CVE-2026-107223 HIGH
7.1 Oct 07

Resource exhaustion in the Excelize Go library (versions 2.1.0 through 2.11.0) lets a crafted .xlsx workbook drive exces

CVE-2026-59162 MEDIUM
6.9 Jul 10

Panic-triggering denial of service in the Excelize Go library (all versions prior to 2.11.0) allows any actor who can su

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.0 Affected
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.0 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
openSUSE Leap 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy