Incorrect Calculation of Buffer Size Affecting tensorflow-lite package, versions [,2.12.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-TENSORFLOWLITE-10078391
  • published8 May 2025
  • disclosed20 Nov 2022
  • creditNeophytos Christou from SSL

Introduced: 20 Nov 2022

CVE-2022-41907  (opens in a new tab)
CWE-120  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade tensorflow-lite to version 2.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Calculation of Buffer Size when tf.raw_ops.ResizeNearestNeighborGrad is given a large size input.

CVSS Base Scores

version 3.1