# CVE-2018-5269: libopencv-videoio3.2: In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because...

CVE-2018-5269 is fixed in 23 products on 1 platform, first by libopencv-calib3d3.2 3.2.0+dfsg-4ubuntu0.1, released January 7, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-5269
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0138
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 7, 2018

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libopencv-calib3d3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-calib3d3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-calib3d3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-contrib3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-contrib3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-contrib3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-core3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-core3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-core3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-features2d3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-features2d3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-features2d3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-flann3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-flann3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-flann3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-highgui3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-highgui3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-highgui3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-imgcodecs3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-imgcodecs3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-imgcodecs3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-imgproc3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-imgproc3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-imgproc3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-ml3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-ml3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-ml3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-objdetect3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-objdetect3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-objdetect3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-photo3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-photo3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-photo3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-shape3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-shape3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-shape3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-stitching3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-stitching3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-stitching3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-superres3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-superres3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-superres3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-video3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-video3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-video3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-videoio3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-videoio3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-videoio3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-videostab3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-videostab3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-videostab3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv-viz3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv-viz3.2 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv-viz3.2-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv3.2-java Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv3.2-java 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv3.2-java-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | libopencv3.2-jni Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [libopencv3.2-jni 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopencv3.2-jni-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | opencv-data Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [opencv-data 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-opencv-data-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | python-opencv Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [python-opencv 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-opencv-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |
| Linux | python3-opencv Ubuntu 18.04.6 LTS (bionic) | 3.2.0+dfsg-4ubuntu0.1 | [python3-opencv 3.2.0+dfsg-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-opencv-3.2.0-dfsg-4ubuntu0.1.md) | Jan 7, 2018 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
