LiveActive security incident?Get immediate response
CVE Record

CVE-2021-37688: Null pointer dereference in TensorFlow Lite

TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can craft a TFLite model that would trigger a null pointer dereference, which would result in a crash and denial of service. The [implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/internal/optimized/optimized_ops.h#L268-L285) unconditionally dereferences a pointer. We have patched the issue in GitHub commit 15691e456c7dc9bd6be203b09765b063bf4a380c. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A malicious TensorFlow Lite model can crash affected TensorFlow versions by triggering a null pointer dereference. The stated impact is denial of service. Organizations are mainly exposed where applications accept or process TFLite models from users, partners, downloads, or automated pipelines.

Executive priority

Treat this as a targeted availability risk for systems processing TFLite models. Prioritize remediation where model files cross trust boundaries or support production services.

Technical view

CVE-2021-37688 is a CWE-476 null pointer dereference in TensorFlow Lite optimized operations. The advisory says the implementation unconditionally dereferences a pointer. A crafted TFLite model can trigger a crash. Affected ranges include TensorFlow before 2.3.4, 2.4.x before 2.4.3, and 2.5.x before 2.5.1.

Likely exposure

Exposure is most likely in ML services, mobile or edge applications, CI pipelines, or research tooling that load TFLite models, especially from untrusted or semi-trusted sources.

Exploitation context

The source bundle does not show known active exploitation, and KEV is false. The CVSS vector is local, low complexity, low privileges, and no user interaction, but practical exploitation depends on the target loading a crafted TFLite model.

Researcher notes

The advisory attributes the flaw to unconditional pointer dereference in TensorFlow Lite optimized ops and links the fixing commit. Evidence supports denial of service via crash, but the supplied sources do not establish active exploitation or broader impact beyond the CVSS record.

Mitigation direction

  • Upgrade TensorFlow to 2.6.0 or later where feasible.
  • For supported older branches, use 2.5.1, 2.4.3, or 2.3.4.
  • Avoid loading TFLite models from untrusted sources until patched.
  • Check TensorFlow vendor guidance for branch-specific remediation details.

Validation and detection

  • Inventory TensorFlow versions in applications, containers, notebooks, and build pipelines.
  • Identify services or workflows that load TFLite model files.
  • Confirm affected versions are upgraded to fixed releases.
  • Review model ingestion paths for trust boundaries and source validation.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-37688 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2021-37688Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
tensorflowtensorflow>= 2.5.0, < 2.5.1, >= 2.4.0, < 2.4.3, < 2.3.4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.