opencv-python
Affected
- introduced
0, fixed3.3.1.11(ecosystem)
Fixed versions
3.3.1.11
Fix
- Fixed version
3.3.1.11pip install --upgrade opencv-python==3.3.1.11
Advisory
Also known as: CVE-2017-12862, GHSA-5rpc-gwh9-q9fg, PYSEC-2026-699
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
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 (corresponding to OpenCV-Python 3.3.0.9) and earlier.
High Basis: CVSS v3 score 8.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
0, fixed 3.3.1.11 (ecosystem)3.3.1.11
3.3.1.11pip install --upgrade opencv-python==3.3.1.11Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0