SecurityContext

CVE-2020-10595: pam-krb5 - Buffer Overflow

  • Cve: CVE-2020-10595
  • Name: pam-krb5 - Buffer Overflow
  • 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.
  • Impact: Potential for remote code execution through heap or stack corruption when supplemental prompting is triggered.
  • Remediation: Update to version 4.9 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to respond with a carefully crafted answer during supplemental prompting
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.04784
  • Epss percentile: 0.92147
  • Assignee: [email protected]
  • Published at: 2020-03-31T13:15:13Z
  • Age in days: 2429
  • Modified at: 2026-06-17T02:48:03Z
  • Patch available: yes
  • References total: 6
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-10595
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-120Buffer Copy without Checking Size of Input

References

Same in every row:

  • Source: nvd
UrlTags
http://www.openwall.com/lists/oss-security/2020/03/31/1Mailing List, Patch, Third Party Advisory
https://github.com/rra/pam-krb5/commit/e7879e27a37119fad4faf133a9f70bdcdc75d760Patch, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/04/msg00000.htmlMailing List, Third Party Advisory
https://www.debian.org/security/2020/dsa-4648Third Party Advisory
https://usn.ubuntu.com/4314-1/
https://www.eyrie.org/~eagle/software/pam-krb5/security/2020-03-30.html

Products

ProductAffectedPlatform boundSourcesUrl
pam-krb5_project:pam-krb5< 4.9nonvd/v1/products/pam-krb5_project/pam-krb5
debian:debian_linux= 10.0, = 9.0, = 8.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
rra/pam-krb5commityes/v1/repositories/rra/pam-krb5

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports