---
id: CVE-2019-9423
aliases:
  - GHSA-8849-5h85-98qw
  - PYSEC-2026-2796
  - PYSEC-2026-2811
  - PYSEC-2026-2835
  - PYSEC-2026-719
title: Out-of-bounds Write in OpenCV
summary: Out-of-bounds Write in OpenCV
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: opencv-python
product: opencv-python
ecosystem: pip
affected:
  - opencv-python <= 4.1.1.26
  - opencv-python-headless <= 4.1.1.26
  - opencv-contrib-python <= 4.1.1.26
  - opencv-contrib-python-headless <= 4.1.1.26
published: '2021-10-12'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:09.258983938Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-8849-5h85-98qw'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2019-9423'
  - url: 'https://github.com/opencv/opencv-python'
  - url: 'https://source.android.com/security/bulletin/android-10'
  - url: 'http://www.openwall.com/lists/oss-security/2019/10/25/17'
  - url: 'http://www.openwall.com/lists/oss-security/2019/10/27/1'
  - url: 'http://www.openwall.com/lists/oss-security/2019/11/07/1'
  - url: 'http://www.openwall.com/lists/oss-security/2020/12/05/1'
tags:
  - osv
  - pip
epss: 0.00296
epssPercentile: 0.22442
ingestedAt: '2026-07-08T18:25:47.327Z'
---

## Overview

In opencv calls that use libpng, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges required. User interaction is not required for exploitation. Product: AndroidVersions: Android-10Android ID: A-110986616

## Affected packages

- `opencv-python <= 4.1.1.26`
- `opencv-python-headless <= 4.1.1.26`
- `opencv-contrib-python <= 4.1.1.26`
- `opencv-contrib-python-headless <= 4.1.1.26`

## Remediation

Refer to the advisory for the patched release.
