# CVE-2021-40417

## Summary

- **CVE ID:** CVE-2021-40417
- **Severity:** CRITICAL
- **CVSS Score:** 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
- **CWE:** CWE-680
- **Published:** Dec 22, 2021
- **Last Modified:** Mar 13, 2026

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

## Affected Products

- n/a — Blackmagic Design (Blackmagic Design DaVinci Resolve 17.3.1.0005)

## References

- [CNA](https://talosintelligence.com/vulnerability_reports/TALOS-2021-1426)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 1.54%
- **EPSS Percentile:** 81.1

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-17._