{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-41895","id":"CVE-2022-41895","title":"`MirrorPadGrad` heap out of bounds read in Tensorflow","description":"TensorFlow is an open source platform for machine learning. If `MirrorPadGrad` is given outsize input `paddings`, TensorFlow will give a heap OOB error. We have patched the issue in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and","descriptionLong":"TensorFlow is an open source platform for machine learning. If `MirrorPadGrad` is given outsize input `paddings`, TensorFlow will give a heap OOB error. We have patched the issue in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.","published":"2022-11-18T00:00:00.000Z","updated":"2026-10-28T10:36:02.267372817Z","reserved":"2022-09-30T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["tensorflow"],"affectedProducts":[{"vendor":"tensorflow","product":"tensorflow","defaultStatus":null,"versions":[{"version":">= 2.10.0, < 2.10.1","status":"affected"},{"version":">= 2.9.0, < 2.9.3","status":"affected"},{"version":"< 2.8.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":["<2.8.4",">=2.9.0 <2.9.3",">=2.10.0 <2.10.1"],"fixed":["2.8.4","2.9.3","2.10.1"],"advisory":"GHSA-gq2j-cr96-gvqx"},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":["<2.8.4",">=2.9.0 <2.9.3",">=2.10.0 <2.10.1"],"fixed":["2.8.4","2.9.3","2.10.1"],"advisory":"GHSA-gq2j-cr96-gvqx"},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":["<2.8.4",">=2.9.0 <2.9.3",">=2.10.0 <2.10.1"],"fixed":["2.8.4","2.9.3","2.10.1"],"advisory":"GHSA-gq2j-cr96-gvqx"}],"cwes":["CWE-125"],"aliases":["BIT-tensorflow-2022-41895","GHSA-gq2j-cr96-gvqx","PYSEC-2026-1000","PYSEC-2026-3192","PYSEC-2026-3332"],"references":[{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/mirror_pad_op.cc","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gq2j-cr96-gvqx","tags":["x_transferred","Exploit","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/tensorflow/tensorflow/commit/717ca98d8c3bba348ff62281fdf38dcb5ea1ec92","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41895.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41895","tags":["advisory"]},{"url":"https://github.com/tensorflow/tensorflow","tags":["package"]},{"url":"https://pypi.org/project/tensorflow-gpu","tags":["package"]},{"url":"https://github.com/advisories/GHSA-gq2j-cr96-gvqx","tags":["advisory"]},{"url":"https://pypi.org/project/tensorflow","tags":["package"]},{"url":"https://pypi.org/project/tensorflow-cpu","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00641,"epssPercentile":0.51457,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-41895","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41895","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-41895","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gq2j-cr96-gvqx","ok":true,"note":"GHSA-gq2j-cr96-gvqx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-41895","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}