CVE-2024-21640 OOB Access in CefVideoConsumerOSR::OnFrameCaptured

Medium 5.4 Published Updated

An out-of-bounds read in CEF's video consumer allows attackers to read memory outside the sandbox boundaries.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-21640?

CVE-2024-21640 is a medium-severity memory corruption vulnerability in chromiumembedded cef, published on 13 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Chromium Embedded Framework (CEF) is a simple framework for embedding Chromium-based browsers in other applications.`CefVideoConsumerOSR::OnFrameCaptured` does not check `pixel_format` properly, which leads to out-of-bounds read out of the sandbox. This vulnerability was patched in commit 1f55d2e.

Weakness: CWE-125

Which versions are affected by CVE-2024-21640?

It affects 1 product.

Products include Chromiumembedded Chromium Embedded Framework.

How do I fix CVE-2024-21640?

No fix has been published for CVE-2024-21640 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-21640 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21640 exists.

Sources

Also known as GHSA-3h3j-38xq-v7hh.

Is CVE-2024-21640 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free