Intel

AIKIDO-2026-767849

OpenCvSharp5.GdipExtensions is vulnerable to Out-of-bounds Write

GHSA-7ppc-pv8r-x59gPublished 4 days ago
November 16, 2026

65

CVE Score

Medium

Out-of-bounds Write

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the OpenCvSharp5.GdipExtensions library to the patch version.

Who does this affect?

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.

Versions

5.0.0.20260703 - 5.0.0.20261018

Fixed in 5.0.0.20261107

Background info

OpenCvSharp5.GdipExtensions is vulnerable to Out-of-bounds Write in versions 5.0.0.20260703 - 5.0.0.20261018.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea