# CVE-2020-12656: gssmechfree in net/sunrpc/authgss/gssmechswitch.c in the rpcsecgsskrb5 implementation in the Linux kernel through 5.6.10 lacks certain doma…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/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): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2020-05-05T05:42:21.000Z
- Modified: 2026-06-17T02:52:05.210Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

gss_mech_free in net/sunrpc/auth_gss/gss_mech_switch.c in the rpcsec_gss_krb5 implementation in the Linux kernel through 5.6.10 lacks certain domain_release calls, leading to a memory leak. Note: This was disputed with the assertion that the issue does not grant any access not already available. It is a problem that on unloading a specific kernel module some memory is leaked, but loading kernel modules is a privileged operation. A user could also write a kernel module to consume any amount of memory they like and load that replicating the effect of this bug

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: up to 5.6.10
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 20.04
- opensuse leap: 15.1; 15.2

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.kernel.org/show_bug.cgi?id=206651> (issue-tracking, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4483-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4485-1/> (third-party-advisory, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2020-12656 · Whole record: https://cve.day/CVE-2020-12656.json · Rebuilt by cve.day 2026-11-25T22:57:52.285Z
