Skip to main content
No exploitation reportedFix available

CVE-2022-42898

No exploitation reported by the sources we read.

  • Published2022-12-25
  • Fixed in4.17.3 · 4.16.7 · 4.15.12
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2022-12-2506:15CVE publishedNVD

Versions per branch

NVD
Samba
BranchAffectedFixed in
4.17≥ 4.17.0, < 4.17.34.17.3
4.16≥ 4.16.0, < 4.16.74.16.7
4.15< 4.15.124.15.12
Mit kerberos 5
BranchAffectedFixed in
1.x≥ 1.8, < 1.19.41.19.4
1.20= 1.20no fix published
Heimdal project heimdal
BranchAffectedFixed in
7.7< 7.7.17.7.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • heimdalUbuntu:Pro:16.04:LTSall versions · fixed in 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3
  • heimdalUbuntu:Pro:14.04:LTSall versions · fixed in 1.6~git20131207+dfsg-1ubuntu1.2+esm3
  • heimdalUbuntu:26.10all versions · no fixed version listed
  • heimdalUbuntu:26.04:LTSall versions · no fixed version listed
  • heimdalUbuntu:25.10all versions · no fixed version listed
  • heimdalUbuntu:24.04:LTSall versions · no fixed version listed
  • heimdalUbuntu:22.04:LTSall versions · no fixed version listed
  • heimdalUbuntu:20.04:LTSall versions · fixed in 7.7.0+dfsg-1ubuntu1.3

181 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-42898 Red Hat Product Security739 products fixed

    krb5: integer overflow vulnerabilities in PAC parsing

  • ICSA-25-105-08 CISA2 known affected

    ABB M2M Gateway

    ABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3 · ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more

  • RHEA-2023:3850 Red Hat Product Security80 products fixed

    Red Hat Enhancement Advisory: krb5 bug fix update

  • RHSA-2022:9029 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.5.3-3]

9 more advisories

Full record on NVD

Fix

  1. Update Samba to 4.17.3 · 4.16.7 · 4.15.12
  2. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  3. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  4. Vendor fix Red Hat Product Security RHEA-2023:3850 · 80 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, running Kerberos services (krb5kdc, kadmin, and kprop) will be restarted automatically.
  5. Vendor fix Red Hat Product Security RHSA-2022:9029 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
  6. Vendor fix Red Hat Product Security RHSA-2022:8669 · 74 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, running Kerberos services (krb5kdc, kadmin, and kprop) will be restarted automatically.
  7. Mitigation from the vendor CISA ICSA-25-105-08 · 2 productsMitigating factors describe conditions and circumstances that make an attack that exploits the vulnerability difficult or less likely to succeed. The following mitigations are recommended. 1. Obtain a cellular private access point (APN). A dedicated private cellular access point and respective SIM…

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2025-04-14
  • CISA-ADPCVSS 3.18.82025-04-14
  • NVDCVSS 3.18.8read 2026-10-23
  • CISA-ADPweakness (CWE)CWE-1902025-04-14
  • NVDweakness (CWE)CWE-190read 2026-10-23
  • FIRST EPSSEPSS score6.9 %2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2022-12-25
Last modified
2026-10-14
NVD status
Modified

Frequently asked questions

What is CVE-2022-42898?

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

Is CVE-2022-42898 actively exploited?

Active exploitation of CVE-2022-42898 has not been confirmed. Its EPSS score was 6.9% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-42898?

CVE-2022-42898 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running krb5? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record