Highlights
Out-of-bounds Read: 5 prior fixes. Scrutinize any change in this area.
tensorflow_text: most-fixed (1 issue). Treat as high-risk during review.
5 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Out-of-bounds Read: Trie lookups, token boundaries, and FlatBuffer indices lack adequate validation during decoding and detokenization. This allows malformed model files or inputs to trigger arbitrary out-of-bounds reads during inference.
Out-of-Bounds Read: Trie array lookups are susceptible to memory safety violations if input node IDs are not explicitly checked against boundary limits, allowing arbitrary index access.
Use After Free: String internal references (string_views) pointing to internal vocabularies can be invalidated during copy constructor operations, causing use-after-free vulnerabilities when calling tokenizers.