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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | opencv-contrib-python | < 3.3.1.11 | 3.3.1.11 |
| Python (PyPI) | opencv-python | < 3.3.1.11 | 3.3.1.11 |
Verweise
- 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://pypi.org/project/opencv-python
- https://github.com/advisories/GHSA-5rpc-gwh9-q9fg
- https://pypi.org/project/opencv-contrib-python
- CVSS-Vektor
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-119, CWE-787- Plattform
- Python (PyPI)
- Paket
opencv-contrib-python, opencv-python- Veröffentlicht
- 12.10.2021
- Aktualisiert
- 11.10.2026 15:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-699 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-2807 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-5rpc-gwh9-q9fg - CC BY 4.0
Schwachstellenhistorie: opencv-python
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 32
- Erste → letzte
- 10.2021 08.2024
- Ohne Fix
- 2
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 23
- Mittel 8
- Nicht bewertet 1
Veröffentlichungen pro Jahr
- 2021: 30
- 2022: 0
- 2023: 1
- 2024: 1
- 2025: 0
- 2026: 0
-
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.