# CVE-2021-4091: A double-free was found in the way 389-ds-base handles virtual attributes context in persistent searches.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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): 2.01%, higher than 81% of CVEs (2026-12-01)
- Published: 2022-02-18T00:00:00.000Z
- Modified: 2026-06-17T04:19:01.210Z
- Weaknesses: CWE-415
- Assigned by: redhat

## Description

A double-free was found in the way 389-ds-base handles virtual attributes context in persistent searches. An attacker could send a series of search requests, forcing the server to behave unexpectedly, and crash.

(As written by CVE List.)

## Affected

- 389-ds-base: 389-ds-base-1.3.10.2
- port389 389-ds-base: before 1.3.10.2
- redhat enterprise_linux_desktop: 7
- redhat enterprise_linux_for_ibm_z_systems: 7.0
- redhat enterprise_linux_for_power_big_endian: 7.0
- redhat enterprise_linux_for_power_little_endian: 7.0
- redhat enterprise_linux_for_scientific_computing: 7.0
- redhat enterprise_linux_server: 7.0
- redhat enterprise_linux_workstation: 7.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2030307> (issue-tracking, patch, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/04/msg00026.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00015.html>

## Sources

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

---

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