# CVE-2021-31728: Incorrect access control in zam64.sys, zam32.sys in MalwareFox AntiMalware 2.74.0.150 allows a non-privileged process to open a handle to \…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/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): 3.40%, higher than 89% of CVEs (2026-12-01)
- Published: 2021-05-17T12:06:57.000Z
- Modified: 2026-06-17T03:52:11.043Z
- Assigned by: mitre

## Description

Incorrect access control in zam64.sys, zam32.sys in MalwareFox AntiMalware 2.74.0.150 allows a non-privileged process to open a handle to \.\ZemanaAntiMalware, register itself with the driver by sending IOCTL 0x80002010, allocate executable memory using a flaw in IOCTL 0x80002040, install a hook with IOCTL 0x80002044 and execute the executable memory using this hook with IOCTL 0x80002014 or 0x80002018, this exposes ring 0 code execution in the context of the driver allowing the non-privileged process to elevate privileges.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- malwarefox antimalware: 2.74.0.150

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/irql0/CVE-2021-31728/blob/master/CVE-2021-31728.md> (third-party-advisory)

## Sources

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

---

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