Integer Overflow or Wraparound in OpenCV
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects OpenCV 3.3 (corresponding with OpenCV-Python version 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-12864
- https://github.com/opencv/opencv/issues/9372
- 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-267x-w5hx-8hjr
- 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-190- 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-697 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-2804 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-267x-w5hx-8hjr - CC BY 4.0
Schwachstellenhistorie: opencv-contrib-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
-
Integer Overflow or Wraparound 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.