CVE-2022-42898

Exp

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

Published: 2022-12-25 Last update: 2025-04-14 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-42898 is rated High Exploit Risk (85.5/100): CVSS High severity, with high exploitation likelihood (EPSS 10.83%, 94th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +2.56% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-42898

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-42898

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-03 8.28% 10.83% +2.56%
2 2026-05-15 8.73% 8.28% -0.46%
3 2026-04-27 8.73%

Full EPSS history (34 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-42898

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2022-42898

OS Trackers for CVE-2022-42898

vendor priority summary link
alpine CVE-2022-42898: 3 source package rows (heimdal, krb5, samba); 20 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 20, open 0. https://security.alpinelinux.org/vuln/CVE-2022-42898
debian not yet assigned CVE-2022-42898 not yet assigned priority: Debian including 3 source packages (heimdal, krb5, samba), 15 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 14, open 1. https://security-tracker.debian.org/tracker/CVE-2022-42898
gentoo normal CVE-2022-42898: 3 GLSA(s) (202309-06, 202310-06, 202405-11), 3 atom(s) (app-crypt/heimdal, app-crypt/mit-krb5, net-fs/samba); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-42898
redhat high https://access.redhat.com/security/cve/CVE-2022-42898
suse medium CVE-2022-42898 severity moderate: SUSE including 722 source package names (0.23.0.3.2.368:krb5-1.19.2-150300.7.7.1, 0.9.1-rev1.1.0-build3.2.22:krb5-1.19.2-150300.7.7.1, …), 1689 product×package rows across 285 product lines (Container bci/bci-init, Container bci/dotnet-aspnet, … (285 product lines)): Fixed 1551, Known Affected 116, Known Not Affected 22. https://www.suse.com/security/cve/CVE-2022-42898/
ubuntu medium CVE-2022-42898 medium priority: Ubuntu including 3 source packages (heimdal, krb5, samba), 39 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 19, not-affected 12, ignored 5, needed 3. https://ubuntu.com/security/CVE-2022-42898

Affected software / configurations for CVE-2022-42898

Vendor Product Version Raw CPE
mit kerberos_5 >= 1.8, < 1.19.4 cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*
mit kerberos_5 1.20 cpe:2.3:a:mit:kerberos_5:1.20:-:*:*:*:*:*:*
mit kerberos_5 1.20 cpe:2.3:a:mit:kerberos_5:1.20:beta1:*:*:*:*:*:*
heimdal_project heimdal < 7.7.1 cpe:2.3:a:heimdal_project:heimdal:*:*:*:*:*:*:*:*
samba samba < 4.15.12 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
samba samba >= 4.16.0, < 4.16.7 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
samba samba >= 4.17.0, < 4.17.3 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*

References for CVE-2022-42898

cvelogic Threat Intelligence