> CVE-2022-23585 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2022-02-04 23:15
MODIFIED
2024-11-21 06:48
CVSS_SCORE V3
4.3
EPSS (Prob. Exploit)
1.00%
Top 37.0%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> DESCRIPTION

Tensorflow is an Open Source Machine Learning Framework. When decoding PNG images TensorFlow can produce a memory leak if the image is invalid. After calling `png::CommonInitDecode(..., &decode)`, the `decode` value contains allocated buffers which can only be freed by calling `png::CommonFreeDecode(&decode)`. However, several error case in the function implementation invoke the `OP_REQUIRES` macro which immediately terminates the execution of the function, without allowing for the memory free to occur. The fix will be 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.

> AFFECTED_PRODUCTS

Google - Tensorflow
<= 2.5.2
Google - Tensorflow
>= 2.6.0 <= 2.6.2
Google - Tensorflow
Version: 2.7.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-fq6p-6334-8gr4 MODERATE

Memory leak in decoding PNG images

AFFECTED PACKAGES:
PIP / tensorflow-gpu
= 2.7.0
Fixed in: 2.7.1
PIP / tensorflow-gpu
>= 2.6.0, < 2.6.3
Fixed in: 2.6.3
PIP / tensorflow-gpu
< 2.5.3
Fixed in: 2.5.3
PIP / tensorflow-cpu
= 2.7.0
Fixed in: 2.7.1
PIP / tensorflow-cpu
>= 2.6.0, < 2.6.3
Fixed in: 2.6.3
PIP / tensorflow-cpu
< 2.5.3
Fixed in: 2.5.3
PIP / tensorflow
= 2.7.0
Fixed in: 2.7.1
PIP / tensorflow
>= 2.6.0, < 2.6.3
Fixed in: 2.6.3
PIP / tensorflow
< 2.5.3
Fixed in: 2.5.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Memory leak in decoding PNG images in Tensorflow

AFFECTED PACKAGES:
Unknown / Unknown
18 versions affected
ALIASES:
BIT-tensorflow-2022-23585, GHSA-fq6p-6334-8gr4, PYSEC-2022-149, PYSEC-2022-94, PYSEC-2026-3174

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/02/2022 23:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:32
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME