CVE-2026-107218
published medium CVSS 3.1 · 5.3Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| qax-os | — | excelize>= 2.10.1, <= 2.11.0 | Affected | Not stated | GitHub_M |
Description
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.10.1 to 2.11.0, RIGHT validates the requested length with UTF-16 code-unit counts but slices a rune array using Unicode code-point counts. RIGHT reaches leftRight through CalcCellValue, where countUTF16String validates one unit but utf8.RuneCountInString supplies the slice index in another. When RIGHT evaluates supplementary-plane text with a requested character count between the rune count and UTF-16 code-unit count, the inconsistent units produce a negative rune-slice index, allowing an attacker to panic during formula evaluation. No fixed version is available as of this review.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| qax-os | excelize | >= 2.10.1, <= 2.11.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-129 CWE-129: Improper Validation of Array Index
References
3Provider assertions
2GitHub_M · cna
Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ba3fc8427aeddff918d254e5afd576dbdb479b64a9f80dce0f6df787c3999568
- Ingested
- 07 Oct 2026, 22:39:26 UTC
- Source record
- Official CVE record