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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2022-12-2506:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.17 | ≥ 4.17.0, < 4.17.3 | 4.17.3 | NVD |
| 4.16 | ≥ 4.16.0, < 4.16.7 | 4.16.7 | NVD |
| 4.15 | < 4.15.12 | 4.15.12 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.8, < 1.19.4 | 1.19.4 | NVD |
| 1.20 | = 1.20 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.7 | < 7.7.1 | 7.7.1 | NVD |
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
krb5: integer overflow vulnerabilities in PAC parsing
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
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: 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
Red Hat Enhancement Advisory: krb5 bug fix update
Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.5.3-3]
9 more advisories
Fix
- Update Samba to 4.17.3 · 4.16.7 · 4.15.12
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- 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.
- 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
- 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.
- 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
- bugzilla.samba.orgPatch
- github.comPatch
- web.mit.eduVendor Advisory
- web.mit.eduRelease Notes · Vendor Advisory
- web.mit.eduVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- AZL-12123same flawAzure Linux · MIT
- AZL-12133same flawAzure Linux · MIT
- AZL-37017same flawAzure Linux · MIT
- EUVD-2022-45956same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- JLSEC-2026-91same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2022:8637advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:8638advisory covering several CVEsAlmaLinux · MIT
- DLA-3206-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3213-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5286-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5287-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2022-0467advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2022-0468advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2023-0010advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2022-2121advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2023:0019-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2023:0020-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12524-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12525-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHEA-2023:3850advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8637advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8638advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8639advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8640advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8641advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8648advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8662advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8663advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8669advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:9029advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2022:8637advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:8638advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:4153-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4154-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4155-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4167-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4335-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4395-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0081-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0160-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0198-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5800-1advisory covering several CVEsUbuntu
- USN-5822-1advisory covering several CVEsUbuntu
- USN-5828-1advisory covering several CVEsUbuntu
- USN-5936-1advisory covering several CVEsUbuntu
- USN-7582-1advisory covering several CVEsUbuntu
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?
Is CVE-2022-42898 actively exploited?
What is the CVSS score for CVE-2022-42898?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0