# CVE-2020-10595: pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations involving supplemental prompting by a Kerber…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 4.78%, higher than 92% of CVEs (2026-12-01)
- Published: 2020-03-31T12:36:10.000Z
- Modified: 2026-06-17T02:48:03.920Z
- Weaknesses: CWE-120
- Assigned by: mitre

## Description

pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations involving supplemental prompting by a Kerberos library. It may overflow a buffer provided by the underlying Kerberos library by a single '\0' byte if an attacker responds to a prompt with an answer of a carefully chosen length. The effect may range from heap corruption to stack corruption depending on the structure of the underlying Kerberos library, with unknown effects but possibly including code execution. This code path is not used for normal authentication, but only when the Kerberos library does supplemental prompting, such as with PKINIT or when using the non-standard no_prompt PAM configuration option.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pam-krb5_project pam-krb5: before 4.9
- debian debian_linux: 8.0; 9.0; 10.0

## Every score

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

## References

- <https://github.com/rra/pam-krb5/commit/e7879e27a37119fad4faf133a9f70bdcdc75d760> (patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2020/03/31/1> (mailing-list, patch, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4648> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/04/msg00000.html> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4314-1/> (vendor-advisory)
- <https://www.eyrie.org/~eagle/software/pam-krb5/security/2020-03-30.html>

## Sources

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

---

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