🛡️ CVE-2022-42898 on Debian — heimdal
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."
Distribution advisory
This page covers CVE-2022-42898 as tracked by Debian, for the package heimdal. The fix is available in version 7.8.git20221115.a6cf945+dfsg-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2022-42898 is classified as CWE-190: Integer Overflow or Wraparound. Arithmetic produces a value too large for its type and wraps around, so a later size or bounds check passes when it should not.
Affected software
DEBIAN-CVE-2022-42898 is recorded against 3 packages.
- heimdal (fixed in 7.8.git20221115.a6cf945+dfsg-1)
- krb5 (fixed in 1.20.1-1)
- samba (fixed in 2:4.17.3+dfsg-1)
Timeline and source
Published on 25 December 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-42898 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| heimdal | — | 7.8.git20221115.a6cf945+dfsg-1 |
| krb5 | — | 1.20.1-1 |
| samba | — | 2:4.17.3+dfsg-1 |
References
Similar Threats
- Unknown CGA-95p5-5mpq-3743
- Unknown CGA-h7j3-g9pf-qcfh
- High CVE-2022-3116
- Unknown ALPINE-CVE-2022-45142
- Unknown AZL-25604
Site Security Check
Is heimdal part of your stack?
DEBIAN-CVE-2022-42898 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.