# CVE-2021-3738: In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'associatio…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/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): 2.05%, higher than 81% of CVEs (2026-12-01)
- Published: 2022-03-02T00:00:00.000Z
- Modified: 2026-06-17T04:05:40.177Z
- Weaknesses: CWE-416
- Assigned by: redhat

## Description

In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'. These handles can reference connections to our sam.ldb database. However while the database was correctly shared, the user credentials state was only pointed at, and when one connection within that association group ended, the database would be left pointing at an invalid 'struct session_info'. The most likely outcome here is a crash, but it is possible that the use-after-free could instead allow different user state to be pointed at and this might allow more privileged access.

(As written by CVE List.)

## Affected

- samba: Affects all versions since samba 4.0 | Fixedin samba v4.15.2, v4.14.10 and v4.13.14
- samba samba: from 4.0.0 before 4.13.14; from 4.14.0 before 4.14.10; from 4.15.0 before 4.15.2

## Every score

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

## References

- <https://www.samba.org/samba/security/CVE-2021-3738.html> (vendor-advisory)
- <https://bugzilla.samba.org/show_bug.cgi?id=14468> (issue-tracking, patch, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2021726> (issue-tracking, third-party-advisory)
- <https://security.gentoo.org/glsa/202309-06> (vendor-advisory)

## Sources

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

---

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