# CVE-2021-40417: When parsing a file that is submitted to the DPDecoder service as a job, the service will use the combination of decoding parameters that w…

- Severity: Critical 9.8 (CVSS:3.1, scored by talos) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 15.7%, higher than 97% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-22T18:07:04.000Z
- Modified: 2026-06-17T04:06:53.913Z
- Weaknesses: CWE-190, CWE-680
- Assigned by: talos

## 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.

(As written by CVE List.)

## Affected

- Blackmagic Design: Blackmagic Design DaVinci Resolve 17.3.1.0005
- blackmagicdesign davinci_resolve: 17.3.1.0005

## Every score

- talos: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2021-1426> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-40417](https://www.cve.org/CVERecord?id=CVE-2021-40417), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-40417](https://nvd.nist.gov/vuln/detail/CVE-2021-40417), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40417 · Whole record: https://cve.day/CVE-2021-40417.json · Rebuilt by cve.day 2026-11-25T22:58:06.130Z
