Advisory

PYSEC-2026-1909

Also known as: CVE-2026-1260, GHSA-38vq-g6vr-w8wf

Summary

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.

Severity

Not rated by the source.

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

sentencepiece

PyPI · All systems

Affected

  • introduced 0, fixed 0.2.1 (ecosystem)

Fixed versions

0.2.1

Fix

  • Fixed version 0.2.1
    pip install --upgrade sentencepiece==0.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences