Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. opencv-python
  4. ›
  5. CVE-2018-5269

CVE-2018-5269: Reachable Assertion

October 12, 2021 (updated November 18, 2021)

In OpenCV, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.

References

  • www.securityfocus.com/bid/106945
  • github.com/advisories/GHSA-89rj-5ggj-3p9p
  • github.com/opencv/opencv/issues/10540
  • github.com/opencv/opencv/pull/10563
  • lists.debian.org/debian-lts-announce/2018/04/msg00019.html
  • lists.debian.org/debian-lts-announce/2018/07/msg00030.html
  • lists.debian.org/debian-lts-announce/2021/10/msg00028.html
  • nvd.nist.gov/vuln/detail/CVE-2018-5269

Code Behaviors & Features

Detect and mitigate CVE-2018-5269 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 3.3.1.11

Fixed versions

  • 3.4.1.15

Solution

Upgrade to version 3.4.1.15 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-617: Reachable Assertion

Source file

pypi/opencv-python/CVE-2018-5269.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:22 +0000.