OpenCvSharp5.GdipExtensions is vulnerable to Out-of-bounds Write
65
CVE Score
Medium
Out-of-bounds Write
On Windows, BitmapConverter.ToMat converts 8-bit indexed GDI+ bitmaps into a Mat. When the source row has GDI+ padding, the conversion copies padding bytes past the destination row and can write beyond the Mat buffer, corrupting memory or terminating the process. The fix copies only the logical pixel width of each row.
Upgrade the OpenCvSharp5.GdipExtensions library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and convert user controlled 8-bit indexed bitmaps through BitmapConverter.ToMat on Windows.
5.0.0.20260703 - 5.0.0.20261018
Fixed in 5.0.0.20261107OpenCvSharp5.GdipExtensions is vulnerable to Out-of-bounds Write in versions 5.0.0.20260703 - 5.0.0.20261018.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.