CVE-2017-12862
high
CVSS v3
8.8
CVSS v4 NEW
โ
VIR risk
8.8
Description
In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
Predictions
Exploit likelihood
92%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 7 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.2.0+dfsg-6 |
| sid | Fixed | 3.2.0+dfsg-6 |
| forky | Fixed | 3.2.0+dfsg-6 |
| bullseye | Fixed | 3.2.0+dfsg-6 |
| bookworm | Fixed | 3.2.0+dfsg-6 |
| 9.0 | Affected | โ |
| 8.0 | Affected | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | opencv-python | <3.3.1.11 | 3.3.1.11 |
| PyPI | opencv-contrib-python | <3.3.1.11 | 3.3.1.11 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| opencv | opencv | {"endIncluding":"3.3.0"} | |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-12862
- https://github.com/opencv/opencv/issues/9370
- https://github.com/opencv/opencv/pull/9376
- https://github.com/opencv/opencv-python
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- https://security.gentoo.org/glsa/201712-02
- https://security-tracker.debian.org/tracker/CVE-2017-12862
CWEs
CWE-787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.