# CVE-2021-29221: A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3.

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/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): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-09T13:34:59.000Z
- Modified: 2026-06-17T03:47:25.507Z
- Weaknesses: CWE-426
- Assigned by: DeepSurface

## Description

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. By adding files to an existing installation's directory, a local attacker could hijack accounts of other users running Erlang programs or possibly coerce a service running with "erlsrv.exe" to execute arbitrary code as Local System. This can occur only under specific conditions on Windows with unsafe filesystem permissions.

(As written by CVE List.)

## Affected

- Erlang Project Erlang/OTP: < 23.2.3
- erlang erlang/otp: before 23.2.3

## Every score

- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.2 Medium `AV:L/AC:H/Au:N/C:C/I:C/A:C`

## References

- <https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/> (exploit, third-party-advisory)
- <https://github.com/erlang/otp/releases/tag/OTP-23.2.3> (third-party-advisory)

## Sources

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

---

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