Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. sentencepiece
  4. ›
  5. CVE-2026-1260

CVE-2026-1260: Sentencepiece has a a heap overflow issue

January 22, 2026

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.

References

  • github.com/advisories/GHSA-38vq-g6vr-w8wf
  • github.com/google/sentencepiece
  • github.com/google/sentencepiece/commit/d856b67fdb3492e035489abf9b3aaf486144b2c0
  • github.com/google/sentencepiece/releases/tag/v0.2.1
  • nvd.nist.gov/vuln/detail/CVE-2026-1260

Code Behaviors & Features

Detect and mitigate CVE-2026-1260 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.1

Fixed versions

  • 0.2.1

Solution

Upgrade to version 0.2.1 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

pypi/sentencepiece/CVE-2026-1260.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:58 +0000.