CVE-2021-40417 Integer overflow in Blackmagic Design

Critical 9.8 Published Updated

An integer overflow in the DPDecoder service allows attackers to trigger a heap buffer overflow and execute arbitrary code via a crafted video file.

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

What is CVE-2021-40417?

CVE-2021-40417 is a critical vulnerability in Blackmagic Design, published on 22 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

When parsing a file that is submitted to the DPDecoder service as a job, the service will use the combination of decoding parameters that were submitted with the job along with fields that were parsed for the submitted video by the R3D SDK to calculate the size of a heap buffer. Due to an integer overflow with regards to this calculation, this can result in an undersized heap buffer being allocated. When this heap buffer is written to, a heap-based buffer overflow will occur. This can result in code execution under the context of the application.

Weakness: CWE-190, CWE-680

Which versions are affected by CVE-2021-40417?

It affects 1 product.

Products include Blackmagicdesign Davinci Resolve.

How do I fix CVE-2021-40417?

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

Is CVE-2021-40417 being exploited?

There is no known exploitation of CVE-2021-40417 in the wild and no public exploit code.

Sources

Also known as GHSA-9g9g-w89w-6r9g.

Is CVE-2021-40417 in your software?

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

Check your SBOMs for free