{"id":"CVE-2020-10595","aliases":["DEBIAN-CVE-2020-10595","DLA-2166-1","DSA-4648-1","EUVD-2020-3044","GHSA-63wp-w3mg-whpq","UBUNTU-CVE-2020-10595","USN-4314-1"],"status":"published","title":"pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04784,"percentile":0.91992,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2020-03-31T00:00:00Z","modified":"2026-10-26T12:01:12Z","fixes":[{"ecosystem":"Debian:12","package":"libpam-krb5","fixed_in":["4.9-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libpam-krb5","fixed_in":["4.9-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libpam-krb5","fixed_in":["4.9-1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"libpam-krb5","fixed_in":["4.6-3+deb8u1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"libpam-krb5","fixed_in":["4.7-4+deb9u1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"libpam-krb5","fixed_in":["4.8-2+deb10u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libpam-krb5","fixed_in":["4.6-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libpam-krb5","fixed_in":["4.7-2ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"libpam-krb5","fixed_in":["4.8-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6-3+deb8u1"}]}],"versions":["4.6-3"]},{"source":"osv","ecosystem":"Debian:9","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7-4+deb9u1"}]}],"versions":["4.7-4"]},{"source":"osv","ecosystem":"Debian:10","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8-2+deb10u1"}]}],"versions":["4.8-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6-2ubuntu0.1~esm1"}]}],"versions":["4.6-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7-2ubuntu0.1"}]}],"versions":["4.7-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8-1ubuntu0.1"}]}],"versions":["4.7-4","4.8-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6-2ubuntu0.1~esm1"}]}],"versions":["4.6-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7-2ubuntu0.1"}]}],"versions":["4.7-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8-1ubuntu0.1"}]}],"versions":["4.7-4","4.8-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"pam-krb5_project","product":"pam-krb5"}],"references":[{"url":"https://github.com/rra/pam-krb5/commit/e7879e27a37119fad4faf133a9f70bdcdc75d760","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2020/03/31/1","tags":["x_refsource_CONFIRM","x_transferred","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"https://www.debian.org/security/2020/dsa-4648","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/04/msg00000.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4314-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://www.eyrie.org/~eagle/software/pam-krb5/security/2020-03-30.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10595"},{"url":"https://github.com/advisories/GHSA-63wp-w3mg-whpq"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-10595","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-10595","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4314-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-10595","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-10595","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.","status":"published","published":"2020-03-31T12:36:10Z","modified":"2024-08-04T11:06:09.951Z","updated_at":"2026-11-02T14:35:47.877975Z"}],"euvd":[{"id":"EUVD-2020-3044","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.","status":"published","published":"2020-03-31T12:36:10Z","modified":"2024-08-04T11:06:09Z","updated_at":"2026-11-03T03:07:49.909738Z"}],"ghsa":[{"id":"GHSA-63wp-w3mg-whpq","title":"pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations...","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.","status":"published","published":"2022-05-24T17:12:58Z","modified":"2023-01-29T05:02:05Z","updated_at":"2026-11-02T14:44:59.173471Z"}],"nvd":[{"id":"CVE-2020-10595","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.","status":"published","published":"2020-03-31T13:15:13.13Z","modified":"2026-06-17T02:48:03.92Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:05:56.580228Z"}],"osv":[{"id":"CVE-2020-10595","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.","status":"published","published":"2020-03-31T13:15:13.13Z","modified":"2026-10-20T10:51:45.107248379Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:13.492058Z"},{"id":"DEBIAN-CVE-2020-10595","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.","status":"published","published":"2020-03-31T13:15:13.13Z","modified":"2026-10-26T12:01:12.659235961Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"UBUNTU-CVE-2020-10595","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.","status":"published","published":"2020-03-31T03:00:00Z","modified":"2026-02-04T04:26:44.933456Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:22.212782Z"},{"id":"DLA-2166-1","title":"libpam-krb5 - security update","status":"published","published":"2020-04-01T00:00:00Z","modified":"2026-03-09T01:19:21.342077Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"DSA-4648-1","title":"libpam-krb5 - security update","status":"published","published":"2020-03-31T00:00:00Z","modified":"2026-03-09T02:09:44.795916Z","updated_at":"2026-11-02T15:46:17.19998Z"},{"id":"USN-4314-1","title":"libpam-krb5 vulnerability","description":"Russ Allbery discovered that pam-krb5 incorrectly handled some responses.\nAn attacker could possibly use this issue to execute arbitrary code.\n","status":"published","published":"2020-03-31T13:42:04Z","modified":"2026-06-29T13:47:58.013196057Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
