# CVE-2021-31845: Remote Code Execution in McAfee DLP Discover

- Severity: High 8.4 (CVSS:3.1, scored by trellix) `CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/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): 1.12%, higher than 67% of CVEs (2026-12-01)
- Published: 2021-09-17T13:45:12.000Z
- Modified: 2026-06-17T03:52:20.300Z
- Weaknesses: CWE-120
- Assigned by: trellix

## Description

A buffer overflow vulnerability in McAfee Data Loss Prevention (DLP) Discover prior to 11.6.100 allows an attacker in the same network as the DLP Discover to execute arbitrary code through placing carefully constructed Ami Pro (.sam) files onto a machine and having DLP Discover scan it, leading to remote code execution with elevated privileges. This is caused by the destination buffer being of fixed size and incorrect checks being made on the source size.

(As written by CVE List.)

## Affected

- McAfee,LLC McAfee Data Loss Prevention (DLP) Discover: from unspecified before 10.6.100
- mcafee data_loss_prevention_discover: before 11.6.100; from 11.7.0 before 11.7.100

## Every score

- trellix: CVSS:3.1 8.4 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://kc.mcafee.com/corporate/index?page=content&id=SB10368> (broken-link)

## Sources

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

---

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