CVE-2017-12863
Integer Overflow or Wraparound in OpenCV
8.8
HIGH
CVSS 3.1
EPSS 1.7%
Description
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
How to fix CVE-2017-12863
To remediate CVE-2017-12863, upgrade the affected package to a fixed version below.
- Debian/opencv—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-12863 being exploited?
Low — EPSS is 1.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 |