# CVE-2021-35937: A race condition vulnerability was found in rpm.

- Severity: Medium 6.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:H/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): 0.33%, higher than 18% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-25T00:00:00.000Z
- Modified: 2026-06-17T03:57:57.727Z
- Weaknesses: CWE-59, CWE-367
- Assigned by: redhat

## Description

A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

(As written by CVE List.)

## Affected

- RPM: Fixed in rpm v4.18.0
- rpm rpm: before 4.18.0
- redhat enterprise_linux: 6.0; 7.0; 8.0; 9.0
- fedoraproject fedora: 34

## References

- <https://www.usenix.org/legacy/event/sec05/tech/full_papers/borisov/borisov.pdf> (exploit, technical-description, third-party-advisory)
- <https://rpm.org/wiki/Releases/4.18.0> (release-notes)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1964125> (issue-tracking, patch, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2021-35937> (vendor-advisory)
- <https://security.gentoo.org/glsa/202210-22> (third-party-advisory, vendor-advisory)

## Sources

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

---

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