high8.5
CVE-2026-1260
Sentencepiece has a a heap overflow issue
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | sentencepiece | < 0.2.1 | 0.2.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Sentencepiece | before 0.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/google/sentencepiece/releases/tag/v0.2.1
- https://access.redhat.com/errata/RHSA-2026:3713
- https://access.redhat.com/errata/RHSA-2026:3782
- https://access.redhat.com/security/cve/CVE-2026-1260
- https://bugzilla.redhat.com/show_bug.cgi?id=2432079
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1260.json
- https://github.com/advisories/GHSA-38vq-g6vr-w8wf
- https://nvd.nist.gov/vuln/detail/CVE-2026-1260
- https://github.com/google/sentencepiece/commit/d856b67fdb3492e035489abf9b3aaf486144b2c0