SB20261201351 - Multiple vulnerabilities in sentencepiece
Published: December 1, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Allocation of Resources Without Limits or Throttling (CVE-ID: N/A)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to cause a denial of service by exhausting memory or causing tokenization to time out.
The vulnerability exists due to insufficient limits on resource consumption in unigram::Lattice::NBest when searching for candidate tokenizations. A local user can supply input for candidate generation to cause excessive memory use or processing time.
2) Improper Validation of Array Index (CVE-ID: N/A)
CWE-ID: CWE-129 - Improper Validation of Array Index
CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to potentially cause a denial of service through an out-of-bounds lookup.
The vulnerability exists due to improper validation of piece IDs in vocabulary lookup functions when retrieving a piece or its attributes. A local user can supply an invalid piece ID to potentially cause the process to terminate.
3) Improper Validation of Specified Index, Position, or Offset in Input (CVE-ID: N/A)
CWE-ID: CWE-1285 - Improper Validation of Specified Index, Position, or Offset in Input
CVSSv4: 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]
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.
Remediation
Install update from vendor's website.