Out-of-bounds Write in OpenCV
OpenCV
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| opencv-python PyPI |
| No fix yet |
| opencv-python-headless PyPI |
| No fix yet |
| opencv-contrib-python PyPI |
| No fix yet |
OpenCV
| Product | Affected | Fixed in |
|---|---|---|
| opencv-python PyPI |
| No fix yet |
| opencv-python-headless PyPI |
| No fix yet |
| opencv-contrib-python PyPI |
| No fix yet |
| opencv-contrib-python-headless PyPI |
|
| No fix yet |
An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0. A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.
From the CVE record · talos
OpenCV 4.1.0 has a heap buffer overflow in its data structure persistence functionality. An attacker can provide a specially crafted XML file that, when processed, can cause heap corruption and potentially execute code. The input does not specify whether authentication, network access, or user interaction is required.
Engineers running OpenCV 4.1.0 or the PyPI packages opencv-python, opencv-python-headless, opencv-contrib-python, or opencv-contrib-python-headless at version 4.1.0.25 or earlier should check their exposure.