Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Versions of tensorflow, tensorflow-cpu and tensorflow-gpu before 2.5.3, from 2.6.0 before 2.6.3, and from 2.7.0 before 2.7.1 are affected. A missing validation of the pad_width value in StringNGrams can produce a negative ngram width, leading to an integer overflow and out-of-memory condition, so an attacker who can supply input to this operation can cause a denial of service. Upgrade to 2.5.3, 2.6.3, or 2.7.1 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 4.3 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0083, the 58th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:37 UTC First seen by agentprime
- 31 Oct 2026, 14:37 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-98j8-c9q4-r38g
- OSV: GHSA-98j8-c9q4-r38g
- github.com/tensorflow/tensorflow/security/advisories/GHSA-98j8-c9q4-r38g
- nvd.nist.gov/vuln/detail/CVE-2022-21733
- github.com/tensorflow/tensorflow/commit/f68fdab93fb7f4ddb4eb438c8fe052753c9413e8
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-57.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-112.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/kernels/string_ngrams_op.cc#L29-L161