CVE-2022-42898: Heimdal Project Heimdal

High severity, CVSS 8.8. EPSS: 4.7% probability of exploitation activity in the next 30 days.

PAC parsing in MIT Kerberos 5 (aka krb5) before 1.19.4 and 1.20.x before 1.20.1 has integer overflows that may lead to remote code execution (in KDC, kadmind, or a GSS or Kerberos application server) on 32-bit platforms (which have a resultant heap-based buffer overflow), and cause a denial of service on other platforms. This occurs in krb5_pac_parse in lib/krb5/krb/pac.c. Heimdal before 7.7.1 has "a similar bug."

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Heimdal Project Heimdal, before 7.7.1: fixed in 7.7.1
  • Mit Kerberos 5, from 1.8, before 1.19.4: fixed in 1.19.4
  • Samba, before 4.15.12: fixed in 4.15.12
  • Samba, from 4.16.0, before 4.16.7: fixed in 4.16.7
  • Samba, from 4.17.0, before 4.17.3: fixed in 4.17.3

Affected products

  • Heimdal Project Heimdal: before 7.7.1 (fixed in 7.7.1)
  • Mit Kerberos 5: from 1.8, before 1.19.4 (fixed in 1.19.4); version 1.20 only
  • Samba Samba: before 4.15.12 (fixed in 4.15.12); from 4.16.0, before 4.16.7 (fixed in 4.16.7); from 4.17.0, before 4.17.3 (fixed in 4.17.3)

Published 2022-12-25. Last modified 2026-10-14.