| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
If you discover a security vulnerability in OpenCV5Sharp, please report it responsibly.
DO NOT open a public GitHub issue for security vulnerabilities.
- GitHub Security Advisories (preferred): Report a vulnerability
- Email: info@qourex.com
- Description of the vulnerability
- Steps to reproduce
- Impact assessment
- Suggested fix (if any)
We are a small open-source team. We aim to acknowledge vulnerability reports within 48 hours and will work as quickly as we can to release patches for confirmed issues.
We actively track security concerns related to:
- Memory safety in the C# wrapper and unmanaged boundaries
- DLL loading hazards (DLL hijacking risks)
- Native integration buffer overflows or resource leaks
Issues in upstream OpenCV or FFmpeg should be reported directly to their respective security channels.
To keep your applications secure when using OpenCV5Sharp:
- Manage resource lifecycles: Always call
Dispose()or use C#usingblocks onMatand other disposable types to prevent memory leaks and resource exhaustion. - Validate input data: Ensure image sizes, file paths, and stream inputs are validated before passing them to the API.
- Keep package updated: Apply updates regularly to receive the latest security fixes.
- DLL Hijacking Mitigation: The library restricts P/Invoke searches to prevent loading arbitrary DLLs from untrusted paths (mitigating CWE-426).