CVE-2019-15939: PYSEC-2026-722 - Divide By Zero in OpenCV.

CVE-2019-15939 · Severity: low · CVSS 3.1 · Published 2026-07-02

Divide By Zero in OpenCV.

Technologies: opencv-contrib-python (PyPI), opencv-contrib-python-headless (PyPI), opencv-python (PyPI), opencv-python-headless (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2019-15939 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-15939 being exploited in the wild.
How severe is CVE-2019-15939?
Low severity, with a CVSS score of 3.1, published 2 July 2026.
Which products and versions are affected?
opencv-contrib-python (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.26; opencv-contrib-python-headless (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.26; opencv-python (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.26; opencv-python-headless (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.26.
Is there a fix for CVE-2019-15939?
Yes. opencv-contrib-python (PyPI): upgrade to 4.1.1.26 or later; opencv-contrib-python-headless (PyPI): upgrade to 4.1.1.26 or later; opencv-python (PyPI): upgrade to 4.1.1.26 or later; opencv-python-headless (PyPI): upgrade to 4.1.1.26 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2019-15939?
Check whether you run opencv-contrib-python (PyPI), opencv-contrib-python-headless (PyPI), opencv-python (PyPI) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • opencv-contrib-python (PyPI): upgrade to 4.1.1.26 or later
    pip install "opencv-contrib-python>=4.1.1.26"
  • opencv-contrib-python-headless (PyPI): upgrade to 4.1.1.26 or later
    pip install "opencv-contrib-python-headless>=4.1.1.26"
  • opencv-python (PyPI): upgrade to 4.1.1.26 or later
    pip install "opencv-python>=4.1.1.26"
  • opencv-python-headless (PyPI): upgrade to 4.1.1.26 or later
    pip install "opencv-python-headless>=4.1.1.26"

Affected products

  • opencv-contrib-python (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.26
  • opencv-contrib-python-headless (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.26
  • opencv-python (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.26
  • opencv-python-headless (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.26

Identifiers

  • CVE-2019-15939
  • GHSA-hxfw-jm98-v4mq
  • PYSEC-2026-2799
  • PYSEC-2026-2822
  • PYSEC-2026-2838
  • PYSEC-2026-722

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.