CVE-2018-5269Opencv
Medium 5.5
Follow: this CVE · Opencv · Opencv We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- Yes
- Published
- Jan 8, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-617
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.
What to do
- Apply the vendor's security update for Opencv.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | opencv-contrib-python |
< 3.4.1.15 |
3.4.1.15 |
pip install "opencv-contrib-python>=3.4.1.15" |
| PyPI | opencv-contrib-python |
< 3.4.1.15 |
3.4.1.15 |
pip install "opencv-contrib-python>=3.4.1.15" |
| PyPI | opencv-python |
< 3.4.1.15 |
3.4.1.15 |
pip install "opencv-python>=3.4.1.15" |
| PyPI | opencv-python |
< 3.4.1.15 |
3.4.1.15 |
pip install "opencv-python>=3.4.1.15" |
Per OSV / GitHub Advisories (GHSA-89rj-5ggj-3p9p, PYSEC-2026-703, PYSEC-2026-2812). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| opencv | opencv | 3.3.1 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Exploit Issue Tracking Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory