Skip to content
OpenAdvisories
High · 7.5 CVE-2017-18009 EUVD-2021-2175GHSA-83rh-hx5x-q9p5PYSEC-2026-2810PYSEC-2026-702

Out-of-bounds Read in OpenCV

Published Jan 1, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 opencv 4.1.2+dfsg-3 —
Debian 13 opencv 4.1.2+dfsg-3 —
Debian 12 opencv 4.1.2+dfsg-3 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS opencv 3.2.0+dfsg-4ubuntu0.1+esm3 USN-4818-1
Ubuntu Pro 16.04 LTS opencv 2.4.9.1+dfsg-1.5ubuntu1.1+esm1 USN-4818-1
Ubuntu Pro 14.04 LTS opencv 2.4.8+dfsg1-2ubuntu1.2+esm1 USN-4818-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI opencv-contrib-python < 3.4.1.15 3.4.1.15 GHSA-83rh-hx5x-q9p5
PyPI opencv-python < 3.4.1.15 3.4.1.15 GHSA-83rh-hx5x-q9p5

Advisories 1

References