Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
HIGH severity

GHSA-m6vm-8g8v-xfjh

HIGH

GHSA-m6vm-8g8v-xfjh is a high-severity (CVSS 8.8) CWE-120 vulnerability in opencv-python. 1 public exploit reference exists, so weaponization risk is real. O3 Security confirms whether GHSA-m6vm-8g8v-xfjh is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Out-of-bounds Write in OpenCV

Also known asCVE-2019-5063PYSEC-2026-2801PYSEC-2026-2826PYSEC-2026-2840PYSEC-2026-724
Published
Oct 12, 2021
Updated
Jul 13, 2026
Affected
4 pkgs
Patched
None yet
Exploits
1 known
Exploitation data as of Jul 13, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Real-World Exposure

4 pkgs affected
🐍opencv-python🐍opencv-python-headless🐍opencv-contrib-python🐍opencv-contrib-python-headless

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0 (corresponds with OpenCV-Python 4.1.0.25). A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.

Affected Packages

4 total
EcosystemPackageVulnerable rangeFix
🐍PyPIopencv-pythonall versionsNo fix
🐍PyPIopencv-python-headlessall versionsNo fix
🐍PyPIopencv-contrib-pythonall versionsNo fix
🐍PyPIopencv-contrib-python-headlessall versionsNo fix
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for opencv-python. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Remediation status

    No patched version of opencv-python has shipped for GHSA-m6vm-8g8v-xfjh yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.

  3. Mitigate without a patch

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-m6vm-8g8v-xfjh is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-m6vm-8g8v-xfjh. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV 4.1.0 (corresponds with OpenCV-Python 4.1.0.25). A specially crafted XML file can cause a buffer overflow, resulting in multiple heap corruptions and potential code execution. An attacker can provide a specially crafted file to trigger this vulnerability.
O3 Security · Impact-Aware SCA

Is GHSA-m6vm-8g8v-xfjh in your dependencies?

O3 detects GHSA-m6vm-8g8v-xfjh across PyPI dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

GHSA-m6vm-8g8v-xfjh: Out-of-bounds Write… | O3 Security