Home » Database

AVID-2026-R0965

Description

Read and Write outside of bounds in TFLite (CVE-2022-23560)

Details

Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in the conversion from sparse tensors to dense tensors. The fix is included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range. Users are advised to upgrade as soon as possible.

Reason for inclusion in AVID: CVE-2022-23560 describes out-of-bounds read/write in TensorFlow Lite, a core AI framework component. It enables an attacker to craft a TFLite model that can perform limited reads/writes beyond array bounds, affecting AI model execution. This is a software vulnerability in a component used to deploy AI models, not hardware/firmware-only, and directly impacts the reliability and security of AI software stacks. The advisory, CVSS data, and references provide clear evidence and remediation guidance (upgrade to TF 2.8.0 and cherry-picks). Therefore it constitutes a software supply chain vulnerability relevant to general-purpose AI systems.

References

Affected or Relevant Artifacts

  • Developer: tensorflow
  • Deployer: tensorflow
  • Artifact Details:
TypeName
Systemtensorflow

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CVSS

Version3.1
Vector StringCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score8.8
Base Severity🔴 High
Attack VectorNETWORK
Attack Complexity🟢 Low
Privileges Required🟢 Low
User InteractionNONE
ScopeUNCHANGED
Confidentiality Impact🔴 High
Integrity Impact🔴 High
Availability Impact🔴 High

CWE

IDDescription
CWE-125CWE-125: Out-of-bounds Read
CWE-787CWE-787: Out-of-bounds Write

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2022-02-04
  • Version: 0.3.3
  • AVID Entry