CVE-2017-12603
Out-of-bounds Write in OpenCV
8.8
HIGH
CVSS 3.1
EPSS 0.69%
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.
How to fix CVE-2017-12603
To remediate CVE-2017-12603, upgrade the affected package to a fixed version below.
- —upgrade to 3.2.0+dfsg-6 or later
- —upgrade to 3.3.1.11 or later
- —upgrade to 3.3.1.11 or later
Is CVE-2017-12603 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.2.0+dfsg-6
- from 0, < 3.3.1.11
- from 0, < 3.3.1.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |