Security mailing lists by PureSourceCode

CVE-2026-107218

MEDIUM 5.3CVSS 3.1

Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics

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.

Published
7 Oct 2026
Last modified
5 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-129
Also known as
GHSA-8jjq-8j9w-m2v6GO-2026-6675
Sources
NVDJSONOSV GHSA-8jjq-8j9w-m2v6JSONOSV GO-2026-6675JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD excelize excelize
cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*
>= 2.10.1, <= 2.11.0
OSV Go github.com/xuri/excelize/v2 >= 2.10.1, < 2.11.1-0.20260908032718-ecd99d761fe0 2.11.1-0.20260908032718-ecd99d761fe0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 7 Oct 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.