CVE-2026-1260: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer in Google Sentencepiece
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.
AI Analysis
Technical Summary
Google Sentencepiece versions before 0.2.1 contain a vulnerability classified as CWE-119 due to improper restriction of operations within memory buffer bounds. This flaw allows invalid memory access when Sentencepiece processes a maliciously crafted model file that is not generated through the standard training process. The CVSS 4.0 score is 8.5, indicating high severity, with local attack vector, low attack complexity, no privileges required, and user interaction needed. The vulnerability impacts confidentiality, integrity, and availability with high impact. Red Hat has published advisories referencing this CVE, but no explicit patch version is provided in the available information.
Potential Impact
The vulnerability allows an attacker with local access and the ability to provide a specially crafted model file to cause invalid memory access in Sentencepiece versions prior to 0.2.1. This can lead to memory corruption, potentially resulting in denial of service or other impacts on confidentiality, integrity, and availability. The high CVSS score reflects the significant potential impact if exploited. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no explicit patch or fixed version is provided in the vendor advisory content, users should monitor official Google and Red Hat advisories for updates. Until a fix is available, avoid processing untrusted or non-standard model files with affected versions of Sentencepiece.
CVE-2026-1260: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer in Google Sentencepiece
Description
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.
CVSS v4.0
Score 8.5high
Affected software
Sentencepiece
pkg:github/google/sentencepieceRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Google Sentencepiece versions before 0.2.1 contain a vulnerability classified as CWE-119 due to improper restriction of operations within memory buffer bounds. This flaw allows invalid memory access when Sentencepiece processes a maliciously crafted model file that is not generated through the standard training process. The CVSS 4.0 score is 8.5, indicating high severity, with local attack vector, low attack complexity, no privileges required, and user interaction needed. The vulnerability impacts confidentiality, integrity, and availability with high impact. Red Hat has published advisories referencing this CVE, but no explicit patch version is provided in the available information.
Potential Impact
The vulnerability allows an attacker with local access and the ability to provide a specially crafted model file to cause invalid memory access in Sentencepiece versions prior to 0.2.1. This can lead to memory corruption, potentially resulting in denial of service or other impacts on confidentiality, integrity, and availability. The high CVSS score reflects the significant potential impact if exploited. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no explicit patch or fixed version is provided in the vendor advisory content, users should monitor official Google and Red Hat advisories for updates. Until a fix is available, avoid processing untrusted or non-standard model files with affected versions of Sentencepiece.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Date Reserved
- 2026-01-20T20:25:05.556Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-1260","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3782","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3713","vendor":"Red Hat"}]
Threat ID: 69725c7b4623b1157c8074a9
Added to database: 01/22/2026, 17:20:59 UTC
Last enriched: 07/15/2026, 08:28:22 UTC
Last updated: 09/10/2026, 22:20:19 UTC
Views: 346
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.