---
id: CVE-2017-18009
aliases:
  - GHSA-83rh-hx5x-q9p5
  - PYSEC-2026-2810
  - PYSEC-2026-702
title: Out-of-bounds Read in OpenCV
summary: Out-of-bounds Read in OpenCV
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: opencv-python
product: opencv-python
ecosystem: pip
affected:
  - opencv-python < 3.4.1.15
  - opencv-contrib-python < 3.4.1.15
patched:
  - opencv-python 3.4.1.15
  - opencv-contrib-python 3.4.1.15
published: '2021-10-12'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:09.188874406Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-83rh-hx5x-q9p5'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2017-18009'
  - url: 'https://github.com/opencv/opencv/issues/10479'
  - url: >-
      https://github.com/opencv/opencv/pull/10480/commits/4ca89db22dea962690f31c1781bce5937ee91837
  - url: 'https://github.com/opencv/opencv-python'
  - url: 'http://www.securityfocus.com/bid/106945'
tags:
  - osv
  - pip
epss: 0.02103
epssPercentile: 0.80649
ingestedAt: '2026-07-08T18:25:47.285Z'
---

## Overview

In OpenCV 3.3.1 (corresponding with OpenCV-Python 3.3.1.11), a heap-based buffer over-read exists in the function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.cpp.

## Affected packages

- `opencv-python < 3.4.1.15`
- `opencv-contrib-python < 3.4.1.15`

## Remediation

Upgrade to a patched release:

- `opencv-python 3.4.1.15`
- `opencv-contrib-python 3.4.1.15`
