CVE-2017-17760
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
CVE-2017-17760 is a medium vulnerability (CVSS 6.5) in Opencv, published December 29, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.25%, the 82nd percentile. Fixed in opencv-python 3.4.0.12.
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
CVE-2017-17760- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
CVE-2017-17760- Updated
- 2026-11-02
EUVDEUVD-2021-2215 No score
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
EUVD-2021-2215- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jcxv-2j3h-mg59
6.5
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
GHSA-jcxv-2j3h-mg59- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
6.5
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
CVE-2017-17760- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-17760
6.5
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
DEBIAN-CVE-2017-17760- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-jcxv-2j3h-mg59
6.5
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
GHSA-jcxv-2j3h-mg59- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVPYSEC-2026-2823
6.5
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
PYSEC-2026-2823- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVPYSEC-2026-711
6.5
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
PYSEC-2026-711- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-17760
6.5
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
- Record
UBUNTU-CVE-2017-17760- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
opencv-pythonPyPI |
through 3.3.1.11 | 3.4.0.12 |
opencv-contrib-pythonPyPI |
through 3.3.1.11 | 3.4.0.12 |
opencvDebian:12 |
before 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
opencvDebian:13 |
before 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
opencvDebian:14 |
before 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
opencvDebian:7 |
before 2.3.1-11+deb7u3, plus listed versions 2.3.1-112.3.1-11+deb7u12.3.1-11+deb7u2 |
2.3.1-11+deb7u3 |
opencvDebian:8 |
before 2.4.9.1+dfsg-1+deb8u2, plus listed versions 2.4.9.1+dfsg-12.4.9.1+dfsg-1+deb8u1 |
2.4.9.1+dfsg-1+deb8u2 |
opencvDebian:9 |
before 2.4.9.1+dfsg1-2+deb9u1, plus listed versions 2.4.9.1+dfsg1-2 |
2.4.9.1+dfsg1-2+deb9u1 |
opencv-pythonPyPI |
before 3.4.0.12 | 3.4.0.12 |
opencv-contrib-pythonPyPI |
before 3.4.0.12 | 3.4.0.12 |
opencvUbuntu:16.04:LTS |
before 2.4.9.1+dfsg-1.5ubuntu1.1, plus listed versions 2.4.9+dfsg-1ubuntu62.4.9.1+dfsg-1.2ubuntu12.4.9.1+dfsg-1.3ubuntu12.4.9.1+dfsg-1.5ubuntu1 |
2.4.9.1+dfsg-1.5ubuntu1.1 |
opencvUbuntu:18.04:LTS |
before 3.2.0+dfsg-4ubuntu0.1, plus listed versions 3.1.0+dfsg1-1~exp1ubuntu33.2.0+dfsg-33.2.0+dfsg-43.2.0+dfsg-4build13.2.0+dfsg-4build2 |
3.2.0+dfsg-4ubuntu0.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
lists.debian.org/debian-lts-announce/2018/07/msg00030.html
lists.debian.org/debian-lts-announce/2018/01/msg00008.html
github.com/opencv/opencv/issues/10351
github.com/opencv/opencv/pull/10369/commits/7bbe1a53cfc097b82b1589f7915a2120de39274c
securityfocus.com/bid/102974
lists.debian.org/debian-lts-announce/2021/10/msg00028.html