Improper Validation of Specified Index, Position, or Offset in Input in sentencepiece - #VU171567

 

Improper Validation of Specified Index, Position, or Offset in Input in sentencepiece - #VU171567

Published: December 1, 2026


Vulnerability identifier: #VU171567
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-1285
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to potentially cause a denial of service during character-map decompilation.

The vulnerability exists due to improper validation of leaf-node offsets in DecompileCharsMap when extracting values from a compiled character map. A local user can supply a malformed character map for decompilation to potentially cause an out-of-bounds read and interrupt processing.


Affected software

sentencepiece

Remediation

Install security update from vendor's website.

sentencepiece - update to 0.2.3

External References

Related Security Bulletins