---
id: CVE-2019-16249
aliases:
  - GHSA-x3rm-644h-67m8
  - PYSEC-2026-2803
  - PYSEC-2026-2833
  - PYSEC-2026-2842
  - PYSEC-2026-726
title: Out-of-bounds Read in OpenCV
summary: Out-of-bounds Read in OpenCV
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
vendor: opencv-python
product: opencv-python
ecosystem: pip
affected:
  - opencv-python < 4.1.2.30
  - opencv-python-headless < 4.1.2.30
  - opencv-contrib-python < 4.1.2.30
  - opencv-contrib-python-headless < 4.1.2.30
patched:
  - opencv-python 4.1.2.30
  - opencv-python-headless 4.1.2.30
  - opencv-contrib-python 4.1.2.30
  - opencv-contrib-python-headless 4.1.2.30
published: '2021-10-12'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:09.476209286Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-x3rm-644h-67m8'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2019-16249'
  - url: 'https://github.com/opencv/opencv/issues/15481'
  - url: 'https://github.com/opencv/opencv/pull/15531'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1752702'
  - url: 'https://github.com/opencv/opencv-python'
  - url: 'https://github.com/opencv/opencv-python/releases/tag/30'
tags:
  - osv
  - pip
epss: 0.01676
epssPercentile: 0.75853
ingestedAt: '2026-07-08T18:25:54.093Z'
---

## Overview

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.

## Affected packages

- `opencv-python < 4.1.2.30`
- `opencv-python-headless < 4.1.2.30`
- `opencv-contrib-python < 4.1.2.30`
- `opencv-contrib-python-headless < 4.1.2.30`

## Remediation

Upgrade to a patched release:

- `opencv-python 4.1.2.30`
- `opencv-python-headless 4.1.2.30`
- `opencv-contrib-python 4.1.2.30`
- `opencv-contrib-python-headless 4.1.2.30`
