Excelize: Negative shared-string index causes panic in GetCellValue and GetRows
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, Excelize parses shared-string cell values with strconv.Atoi and checks only the upper bound before indexing the shared string slice, allowing an XLSX file containing a shared-string cell with -1 to trigger sharedStrings[-1] and panic when read through GetCellValue or GetRows. This issue is fixed in version 2.11.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-59162
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 22:35 UTC · Revision 1
Source evidence
Excelize: Negative shared-string index causes panic in GetCellValue and GetRows
core-osv · Original sourcePublished 10 Jul 2026, 15:51 UTC
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, Excelize parses shared-string cell values with strconv.Atoi and checks only the upper bound before indexing the shared string slice, allowing an XLSX file containing a shared-string cell with -1 to trigger sharedStrings[-1] and panic when read through GetCellValue or GetRows. This issue is fixed in version 2.11.0.
osv:CVE-2026-59162
Complete source record
{
"id": "f97af23c48a655e61c4a8258242ec9acad2bdf3256d0e1a0e5838ec92b180044",
"url": "https://osv.dev/vulnerability/CVE-2026-59162",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Excelize: Negative shared-string index causes panic in GetCellValue and GetRows",
"summary": "Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, Excelize parses shared-string cell values with strconv.Atoi and checks only the upper bound before indexing the shared string slice, allowing an XLSX file containing a shared-string cell with -1 to trigger sharedStrings[-1] and panic when read through GetCellValue or GetRows. This issue is fixed in version 2.11.0.",
"evidence": "osv:CVE-2026-59162",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-59162",
"aliases": [
"CVE-2026-59162",
"GHSA-fx5j-qcqg-grpf",
"GO-2026-6452"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/qax-os/excelize",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "90ff348959dd842cbf3a4fbd93a78afbe18db476"
},
{
"fixed": "93f0b3caed37f21ef5079e3259c6c21dcfe68453"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.11.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "93f0b3caed37f21ef5079e3259c6c21dcfe68453"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "90ff348959dd842cbf3a4fbd93a78afbe18db476"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.11.0"
}
]
}
}
],
"versions": [
"v2.10.1",
"v2.10.0",
"v2.9.1",
"v2.9.0",
"v2.8.1",
"v2.8.0",
"v2.7.1",
"v2.7.0",
"v2.6.1",
"v2.6.0",
"v2.5.0",
"v2.4.1",
"v2.4.0",
"v2.3.2",
"v2.3.1",
"v2.3.0",
"v2.2.0",
"v2.1.0",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v1.4.1",
"v1.4.0",
"v1.3.0",
"v1.2.0",
"v1.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59162.json"
}
}
],
"modified": "2026-10-28T02:30:23.926903877Z",
"provider": "osv",
"references": [
"https://github.com/qax-os/excelize/releases/tag/v2.11.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59162.json",
"https://github.com/qax-os/excelize/security/advisories/GHSA-fx5j-qcqg-grpf",
"https://nvd.nist.gov/vuln/detail/CVE-2026-59162",
"https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453",
"https://github.com/qax-os/excelize/pull/2331"
],
"provider_metadata": {
"cwe_ids": [
"CWE-248",
"CWE-755"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59162.json"
}
},
"related_cves": [
{
"value": "CVE-2026-59162",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490600,
"published_at": "2026-07-10T15:51:26.078+00:00"
}