Advisory

GHSA-38vq-g6vr-w8wf

Also known as: CVE-2026-1260, PYSEC-2026-1909

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

High Basis: The source's own band: HIGH

Dates

Published
2026-01-22 18:30 UTC
Modified
2026-09-10 03:50 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences