ADVISORIES

PyPA Advisory Database

PYSEC-2026-1909

Sentencepiece has a a heap overflow issue

Details

Invalid memory access in Sentencepiece versions less than 0.2.1 when using a vulnerable model file, which is not created in the normal training procedure.

Affected packages

EcosystemPackageAffected versions
PyPIsentencepiece
All versions before 0.2.1 (fixed in 0.2.1)

References