Vulnerabilities / CVE-2020-10595

critical

CVE-2020-10595

pam_krb5: incorrect input handling results in single byte buffer overflow which may lead to heap corruption

Published Modified CWE 120
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 10libpam-krb54.8-2+deb10u1
debian 11libpam-krb54.9-1
debian 12libpam-krb54.9-1
debian 13libpam-krb54.9-1
debian 14libpam-krb54.9-1
debian 8libpam-krb54.6-3+deb8u1
debian 9libpam-krb54.7-4+deb9u1
echolibpam-krb54.9-1
ubuntu 14.04-ESMlibpam-krb54.6-2ubuntu0.1~esm1
ubuntu 16.04libpam-krb54.7-2ubuntu0.1
ubuntu 16.04-ESMlibpam-krb54.7-2ubuntu0.1
ubuntu 18.04libpam-krb54.8-1ubuntu0.1
Show all 14 entries from 14 sources
SourcePackageFixed in
debian 10libpam-krb54.8-2+deb10u1
debian 11libpam-krb54.9-1
debian 12libpam-krb54.9-1
debian 13libpam-krb54.9-1
debian 14libpam-krb54.9-1
debian 8libpam-krb54.6-3+deb8u1
debian 9libpam-krb54.7-4+deb9u1
echolibpam-krb54.9-1
ubuntu 14.04-ESMlibpam-krb54.6-2ubuntu0.1~esm1
ubuntu 16.04libpam-krb54.7-2ubuntu0.1
ubuntu 16.04-ESMlibpam-krb54.7-2ubuntu0.1
ubuntu 18.04libpam-krb54.8-1ubuntu0.1
ubuntu 18.04-ESMlibpam-krb54.8-1ubuntu0.1
ubuntu 19.10libpam-krb54.8-2ubuntu0.1

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.