GHSA-fq6p-6334-8gr4 · Severity: medium · Ecosystem: pip — Memory leak in decoding PNG images
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.
Conclusion & alert: CVE-2022-23585 is rated Exploit Available (52.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.99%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-26 | 0.93% | 0.99% | +0.06% |
| 2 | 2026-06-15 | 0.66% | 0.93% | +0.27% |
| 3 | 2025-11-21 | — | 0.66% | — |
Full EPSS history (13 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.3 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 4.0 | 2.0 | MEDIUM |
|
8.0 | 2.9 | [email protected] |
GHSA-fq6p-6334-8gr4 · Severity: medium · Ecosystem: pip — Memory leak in decoding PNG images
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2022-23585 unimportant priority: Debian including 1 source packages (tensorflow), 2 status rows across 2 suites (forky, sid): resolved 2. | https://security-tracker.debian.org/tracker/CVE-2022-23585 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| tensorflow | <= 2.5.2 | cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | |
| tensorflow | >= 2.6.0, <= 2.6.2 | cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | |
| tensorflow | 2.7.0 | cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/kernels/image/decode_image_op.cc#L322-L416 | Exploit Third Party Advisory |
| https://github.com/tensorflow/tensorflow/commit/ab51e5b813573dc9f51efa335aebcf2994125ee9 | Patch Third Party Advisory |
| https://github.com/tensorflow/tensorflow/security/advisories/GHSA-fq6p-6334-8gr4 | Patch Third Party Advisory |