CVE-2022-42898
Reported by mitre · Published December 25, 2022
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."
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| krb5-server | Amazon Linux | 1.15.1-55.amzn2.2.5 |
| samba | Alpine | 4.16.7-r0, 4.15.12-r0 |
| krb5 | Alpine | 1.20.1-r0, 1.19.4-r0 |
| krb5-workstation | Amazon Linux | 1.15.1-55.amzn2.2.5 |
| samba | Arch Linux | 4.17.5-1 |
| krb5-libs | Amazon Linux | 1.15.1-55.amzn2.2.5 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| samba | samba | 4.17.3, 4.16.7, 4.15.12 |
| heimdal | heimdal_project | 7.7.1 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| kerberos_5 | mit | 1.19.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | krb5-server | 0 |
| alpine | samba | 0, 0 |
| alpine | krb5 | 0, 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2 | krb5-workstation | 0 |
| arch | samba | 0 |
| amazon:2 | krb5-libs | 0 |
| n/a | n/a | * |
| amazon:2 | krb5-devel | 0 |
| amazon:2 | krb5-server-ldap | 0 |
| alpine | heimdal | 0 |
| amazon:2 | libkadm5 | 0 |
| amazon:2 | krb5-pkinit | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
Timeline
- Nov 15, 2022 CVE Published
- Dec 25, 2022 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 17, 2026 Security Advisory (79 in total, the first dated here)
- Jun 14, 2026 Coalition ESS Score
- Nov 21, 2026 Distribution Patch (70 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-42898
vulnetix vdb fixes CVE-2022-42898
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-42898/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202309-06 vendor-advisory
- GLSA-202310-06 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url