CVE-2017-12603
publishedopencv: invalid write in the cv::RLByteStream::getBytes function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | opencv | Advisory build | 2.4.9.1+dfsg-1+deb8u2 | DLA-1438-1 |
| Debian | stretch | opencv | Advisory build | 2.4.9.1+dfsg1-2+deb9u1 | DLA-2799-1 |
| Debian | wheezy | opencv | Advisory build | 2.3.1-11+deb7u2 | DLA-1117-1 |
Description
OpenCV (Open Source Computer Vision Library) through 3.3 has an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 2-opencv-heapoverflow-fseek test case.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- https://github.com/opencv/opencv/issues/9309
- https://github.com/xiaoqx/pocs/blob/master/opencv.md
- [debian-lts-announce] 20180722 [SECURITY] [DLA 1438-1] opencv security update https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- [debian-lts-announce] 20211030 [SECURITY] [DLA 2799-1] opencv security update https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- GLSA-201712-02 https://security.gentoo.org/glsa/201712-02
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a5eccf84df3894d100039129ab5a90a11cf08be7102f27cecc1f60730856fe4c
- Ingested
- 23 Sep 2026, 07:41:58 UTC
- Source record
- Official CVE record