{"id":"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.","aliases":["CVE-2026-1260","GHSA-38vq-g6vr-w8wf"],"modified":"2026-07-07T17:47:52.959634858Z","published":"2026-07-07T16:03:20.003357Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1260"},{"type":"WEB","url":"https://github.com/google/sentencepiece/commit/d856b67fdb3492e035489abf9b3aaf486144b2c0"},{"type":"PACKAGE","url":"https://github.com/google/sentencepiece"},{"type":"WEB","url":"https://github.com/google/sentencepiece/releases/tag/v0.2.1"},{"type":"PACKAGE","url":"https://pypi.org/project/sentencepiece"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-38vq-g6vr-w8wf"}],"affected":[{"package":{"name":"sentencepiece","ecosystem":"PyPI","purl":"pkg:pypi/sentencepiece"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.1"}]}],"versions":["0.0.0","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.9","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.81","0.1.82","0.1.83","0.1.85","0.1.86","0.1.90","0.1.91","0.1.92","0.1.94","0.1.95","0.1.96","0.1.97","0.1.98","0.1.99","0.2.0"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/sentencepiece/PYSEC-2026-1909.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}