Skip to main content
Public proof of conceptFix available

CVE-2022-23559

A public proof of concept exists; no exploitation attested.

  • Published2022-02-04
  • Fixed in2.7.1 · 2.6.3 · 2.5.3
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause an integer overflow in embedding lookup operations. Both `embedding_size` and `lookup_size` are products of values provided by the user. Hence, a malicious user could trigger overflows in the multiplication. In certain scenarios, this can then result in heap OOB read/write. Users are advised to upgrade to a patched version.

Timeline

dates in UTC
  1. 2022-02-0423:15CVE publishedNVD

Versions per branch

OSV · NVD
tensorflow
BranchAffectedFixed in
2.7≥ 2.7.0, < 2.7.12.7.1
2.6≥ 2.6.0, < 2.6.32.6.3
2.5< 2.5.32.5.3
tensorflow
BranchAffectedFixed in
2.7≥ 2.7.0, < 2.7.12.7.1
2.6≥ 2.6.0, < 2.6.32.6.3
2.5< 2.5.32.5.3
Google tensorflow
BranchAffectedFixed in
2.5≤ 2.5.2no fix published
2.6≥ 2.6.0, ≤ 2.6.2no fix published
2.7= 2.7.0no fix published

2 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • tensorflow
    Affected
    • = >= 2.7.0, < 2.7.1no fix stated
    • = >= 2.6.0, < 2.6.3no fix stated
    • = < 2.5.3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-02-04

Fix

  1. Update tensorflow to 2.7.1 · 2.6.3 · 2.5.3

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-04-22
  • CNACVSS 3.18.8known since 2026-10-23
  • NVDCVSS 3.18.8read 2026-10-23
  • NVDCVSS 2.06.5read 2026-10-23
  • CNAweakness (CWE)CWE-190known since 2026-10-23
  • NVDweakness (CWE)CWE-190read 2026-10-23
  • FIRST EPSSEPSS score1.2 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2022-02-03

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2022-02-04
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-98p5-x8x4-c9m5

Frequently asked questions

What is CVE-2022-23559?

Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause an integer overflow in embedding lookup operations. Both `embedding_size` and `lookup_size` are products of values provided by the user. Hence, a malicious user could trigger overflows in the multiplication. In certain scenarios, this can then result in heap OOB read/write. Users are advised to upgrade to a patched version.

Is CVE-2022-23559 actively exploited?

A proof-of-concept exploit exists for CVE-2022-23559, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-23559?

CVE-2022-23559 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running tensorflow? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record