cve.bz

CVE-2022-42898 Year 2038 problem, Y2K38, Y2038, Epochalypse

8.8 highExploit referenceEPSS 6.9%Fix available

High (8.8). EPSS 6.9% estimated probability of exploitation activity in the next 30 days.

On this page
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."

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
6.9% (unchanged from 6.9% a week ago; 6.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-42898 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-42898?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-42898?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-42898 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-42898

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-42898](https://cve.bz/cve/badge/CVE-2022-42898.svg)](https://cve.bz/cve/CVE-2022-42898)

HTML:

<a href="https://cve.bz/cve/CVE-2022-42898"><img src="https://cve.bz/cve/badge/CVE-2022-42898.svg" alt="CVE-2022-42898"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mit:kerberos_5from 1.8 before 1.19.4
mit:kerberos_51.20
mit:kerberos_51.20:beta1
heimdal_project:heimdalbefore 7.7.1
samba:sambabefore 4.15.12
samba:sambafrom 4.16.0 before 4.16.7
samba:sambafrom 4.17.0 before 4.17.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10heimdal7.5.0+dfsg-3+deb10u1DLA-3206-1
Debian10krb51.17-3+deb10u5DLA-3213-1
Debian11heimdal7.7.0+dfsg-2+deb11u2DSA-5287-1
Debian11krb51.18.3-6+deb11u3DSA-5286-1
Debian12, 13, 14heimdal7.8.git20221115.a6cf945+dfsg-1DEBIAN-CVE-2022-42898
Debian12, 13, 14krb51.20.1-1DEBIAN-CVE-2022-42898
Debian12, 13, 14samba2:4.17.3+dfsg-1DEBIAN-CVE-2022-42898
Ubuntu18.04:LTSheimdal7.5.0+dfsg-1ubuntu0.3UBUNTU-CVE-2022-42898 USN-5800-1
Ubuntu18.04:LTSkrb51.16-2ubuntu0.3UBUNTU-CVE-2022-42898 USN-5828-1
Ubuntu20.04:LTSheimdal7.7.0+dfsg-1ubuntu1.3UBUNTU-CVE-2022-42898 USN-5800-1
Ubuntu20.04:LTSkrb51.17-6ubuntu4.2UBUNTU-CVE-2022-42898 USN-5828-1
Ubuntu20.04:LTSsamba2:4.15.13+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2022-42898 USN-5822-1 USN-5936-1
Ubuntu22.04:LTSkrb51.19.2-2ubuntu0.1UBUNTU-CVE-2022-42898 USN-5828-1
Ubuntu22.04:LTSsamba2:4.15.13+dfsg-0ubuntu1UBUNTU-CVE-2022-42898 USN-5822-1
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moreheimdalno fix listedUBUNTU-CVE-2022-42898
UbuntuPro:14.04:LTSheimdal1.6~git20131207+dfsg-1ubuntu1.2+esm3UBUNTU-CVE-2022-42898 USN-5800-1
UbuntuPro:14.04:LTSkrb51.12+dfsg-2ubuntu5.4+esm3UBUNTU-CVE-2022-42898 USN-5828-1
UbuntuPro:14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13UBUNTU-CVE-2022-42898 USN-7582-1
UbuntuPro:16.04:LTSheimdal1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3UBUNTU-CVE-2022-42898 USN-5800-1
3 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationkrb5, libkadm5, krb5-libs and 6 more0:1.15.1-55.el7_9RHSA-2022:8640
Red Hatenterprise_linux:7::computenodekrb5-devel, krb5-server, krb5-debuginfo and 1 more0:1.15.1-55.el7_9RHSA-2022:8640
Red Hatenterprise_linux:8::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.18.2-22.el8_7RHSA-2022:8638
Red Hatenterprise_linux:8::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.18.2-25.el8_8RHEA-2023:3850
Red Hatenterprise_linux:9::appstreamkrb5-devel0:1.19.1-24.el9_1RHSA-2022:8637
Red Hatenterprise_linux:9::baseoskrb5, libkadm5, krb5-libs and 12 more0:1.19.1-24.el9_1RHSA-2022:8637
Red Hatrhel_aus:8.2::baseos, rhel_e4s:8.2::baseos, rhel_tus:8.2::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.17-19.el8_2RHSA-2022:8648
Red Hatrhel_e4s:8.1::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.17-10.el8_1RHSA-2022:8641
Red Hatrhel_els:6krb5, libkadm5, krb5-libs and 6 more0:1.10.3-66.el6_10RHSA-2022:8663
Red Hatrhel_eus:8.4::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.18.2-9.el8_4RHSA-2022:8639
Red Hatrhel_eus:8.6::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.18.2-15.el8_6RHSA-2022:8662
Red Hatrhel_eus:9.0::appstreamkrb5-devel0:1.19.1-16.el9_0RHSA-2022:8669
2 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 morekrb51.16.3-150100.3.27.1SUSE-SU-2022:4155-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Micro 5.2 and 2 moresamba4.15.12+git.535.7750e5c95ef-150300.3.43.1SUSE-SU-2022:4395-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 8 morekrb51.19.2-150300.10.1SUSE-SU-2023:0198-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.15.13+git.482.1ac2c665c7-3.74.1SUSE-SU-2023:0081-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4samba4.15.13+git.591.ab36624310c-150400.3.19.1SUSE-SU-2023:0160-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morekrb51.15.2-150000.6.17.1SUSE-SU-2022:4154-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3 and 1 morekrb51.19.2-150300.7.7.1SUSE-SU-2022:4167-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Server Applications 15 SP4krb51.19.2-150400.3.3.1SUSE-SU-2022:4153-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 morekrb51.12.5-40.43.1SUSE-SU-2022:4335-1
SUSEPackage Hub 15 SP3libheimdal7.8.0-bp153.2.4.1openSUSE-SU-2023:0020-1
SUSEPackage Hub 15 SP4libheimdal7.8.0-bp154.2.4.1openSUSE-SU-2023:0019-1
openSUSELeap 15.3krb5, krb5-mini1.19.2-150300.7.7.1SUSE-SU-2022:4167-1
openSUSELeap 15.3libheimdal7.8.0-bp153.2.4.1openSUSE-SU-2023:0020-1
openSUSELeap 15.3, Leap Micro 5.2samba4.15.12+git.535.7750e5c95ef-150300.3.43.1SUSE-SU-2022:4395-1
openSUSELeap 15.4libheimdal7.8.0-bp154.2.4.1openSUSE-SU-2023:0019-1
openSUSELeap 15.4, Leap Micro 5.3krb51.19.2-150400.3.3.1SUSE-SU-2022:4153-1
openSUSELeap 15.4, Leap Micro 5.3samba4.15.13+git.591.ab36624310c-150400.3.19.1SUSE-SU-2023:0160-1
openSUSELeap Micro 5.2krb51.19.2-150300.10.1SUSE-SU-2023:0198-1
openSUSELeap Micro 5.2krb51.19.2-150300.7.7.1SUSE-SU-2022:4167-1
openSUSETumbleweedkrb51.20.1-1.1openSUSE-SU-2024:12524-1
openSUSETumbleweedsamba4.17.3+git.279.ff9bb8a298-1.1openSUSE-SU-2024:12525-1
AlmaLinux8libkadm5, krb5-libs, krb5-devel and 4 more1.18.2-22.el8_7ALSA-2022:8638
AlmaLinux9libkadm5, krb5-libs, krb5-devel and 4 more1.19.1-24.el9_1ALSA-2022:8637
Rocky Linux8krb50:1.18.2-22.el8_7RLSA-2022:8638
Rocky Linux9krb50:1.19.1-24.el9_1RLSA-2022:8637
Alpinev3.14, v3.15, v3.16 and 8 moreheimdal7.7.1-r0ALPINE-CVE-2022-42898
Alpinev3.15, v3.16krb51.19.4-r0ALPINE-CVE-2022-42898
Alpinev3.15, v3.16samba4.15.12-r0ALPINE-CVE-2022-42898
Alpinev3.17, v3.18, v3.19 and 5 morekrb51.20.1-r0ALPINE-CVE-2022-42898
Alpinev3.18, v3.19, v3.20 and 4 moresamba4.16.7-r0ALPINE-CVE-2022-42898
Azure Linux2krb51.19.4-1AZL-12133
Azure Linux2sambano fix listedAZL-12123
Azure Linux3samba4.18.3-1AZL-37017

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Samba in RHEL does not implement the AD DC role and is not built against Heimdal, thus Samba is not affected by this CVE.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportkrb5-0:1.10.3-66.el6_10Fixed 2022-11-29RHSA-2022:8663
Red Hat Enterprise Linux 7krb5-0:1.15.1-55.el7_9Fixed 2022-11-28RHSA-2022:8640
Red Hat Enterprise Linux 8krb5-0:1.18.2-25.el8_8Fixed 2023-06-27RHEA-2023:3850
Red Hat Enterprise Linux 8krb5-0:1.18.2-22.el8_7Fixed 2022-11-28RHSA-2022:8638
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskrb5-0:1.17-10.el8_1Fixed 2022-11-28RHSA-2022:8641
Red Hat Enterprise Linux 8.2 Advanced Update Supportkrb5-0:1.17-19.el8_2Fixed 2022-11-28RHSA-2022:8648
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekrb5-0:1.17-19.el8_2Fixed 2022-11-28RHSA-2022:8648
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskrb5-0:1.17-19.el8_2Fixed 2022-11-28RHSA-2022:8648
Red Hat Enterprise Linux 8.4 Extended Update Supportkrb5-0:1.18.2-9.el8_4Fixed 2022-11-28RHSA-2022:8639
Red Hat Enterprise Linux 8.6 Extended Update Supportkrb5-0:1.18.2-15.el8_6Fixed 2022-11-29RHSA-2022:8662
Red Hat Enterprise Linux 9krb5-0:1.19.1-24.el9_1Fixed 2022-11-28RHSA-2022:8637
Red Hat Enterprise Linux 9.0 Extended Update Supportkrb5-0:1.19.1-16.el9_0Fixed 2022-11-29RHSA-2022:8669
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.5.3-202212070734_8.6Fixed 2022-12-14RHSA-2022:9029
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Enterprise Linux 9sambaNot affected
Red Hat Storage 3sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-42898.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-105-08ABB M2M Gateway2025-04-07EnergyABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3none listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC 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) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON