CVE-2019-16249 Out-of-bounds Read in OpenCV
An out-of-bounds read in OpenCV's video module can cause application crashes or leak sensitive memory contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-16249?
CVE-2019-16249 is a medium-severity memory corruption vulnerability in n/a, published on 11 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OpenCV 4.1.1 has an out-of-bounds read in hal_baseline::v_load in core/hal/intrin_sse.hpp when called from computeSSDMeanNorm in modules/video/src/dis_flow.cpp.
Weakness: CWE-125
Which versions are affected by CVE-2019-16249?
12 open source packages ship an affected version, including opencv-contrib-python, opencv-contrib-python-headless and opencv-python. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
opencv-contrib-python PyPI | All versions | 4.1.2.30 |
opencv-contrib-python PyPI | All versions | 4.1.2.30 |
opencv-contrib-python PyPI | All versions | 4.1.2.30 |
opencv-contrib-python-headless PyPI | All versions | 4.1.2.30 |
opencv-contrib-python-headless PyPI | All versions | 4.1.2.30 |
opencv-contrib-python-headless PyPI | All versions | 4.1.2.30 |
6 more packages
opencv-python PyPI | All versions | 4.1.2.30 |
opencv-python PyPI | All versions | 4.1.2.30 |
opencv-python PyPI | All versions | 4.1.2.30 |
opencv-python-headless PyPI | All versions | 4.1.2.30 |
opencv-python-headless PyPI | All versions | 4.1.2.30 |
opencv-python-headless PyPI | All versions | 4.1.2.30 |
Products include Opencv Opencv.
How do I fix CVE-2019-16249?
Upgrade opencv-contrib-python to 4.1.2.30 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-16249 being exploited?
There is no known exploitation of CVE-2019-16249 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-x3rm-644h-67m8, PYSEC-2026-2803, PYSEC-2026-2833, PYSEC-2026-2842, PYSEC-2026-726, UBUNTU-CVE-2019-16249.