CVE-2022-42898

HIGH CVSS 3.1: 8.8 EPSS 6.86%
Updated Oct 14, 2026
Heimdal_Project
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions 1.8 — 7.7.1
Fixed In 1.19.4
Type CWE-190 (Integer Overflow)
Vendor Heimdal_Project
Public PoC No

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."

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 7

Configuration From (including) Up to (excluding)
Mit Kerberos_5
cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*
1.8 1.19.4
Mit Kerberos_5
cpe:2.3:a:mit:kerberos_5:1.20:-:*:*:*:*:*:*
— —
Mit Kerberos_5
cpe:2.3:a:mit:kerberos_5:1.20:beta1:*:*:*:*:*:*
— —
Heimdal_Project Heimdal
cpe:2.3:a:heimdal_project:heimdal:*:*:*:*:*:*:*:*
— 7.7.1
Samba Samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
— 4.15.12
Samba Samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
4.16.0 4.16.7
Samba Samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
4.17.0 4.17.3