{"id":"CVE-2022-42898","state":"PUBLISHED","title":"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 ","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.\"","publishedAt":"2022-12-25T00:00:00.000Z","updatedAt":"2026-10-14T18:26:41.154Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://web.mit.edu/kerberos/advisories/","https://www.samba.org/samba/security/CVE-2022-42898.html","https://github.com/krb5/krb5/commit/ea92d2f0fcceb54a70910fa32e9a0d7a5afc3583","https://github.com/heimdal/heimdal/security/advisories/GHSA-64mq-fvfj-5x3c","https://web.mit.edu/kerberos/krb5-1.20/README-1.20.1.txt","https://web.mit.edu/kerberos/krb5-1.19/","https://bugzilla.samba.org/show_bug.cgi?id=15203","https://security.netapp.com/advisory/ntap-20230216-0008/","https://security.netapp.com/advisory/ntap-20230223-0001/","https://security.gentoo.org/glsa/202309-06","https://security.gentoo.org/glsa/202310-06","https://cert-portal.siemens.com/productcert/html/ssa-398330.html"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T19:50:40.706Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/42xxx/CVE-2022-42898.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-42898","state":"PUBLISHED","datePublished":"2022-12-25T00:00:00.000Z","dateUpdated":"2026-10-14T18:26:41.154Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-10-13T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.\""}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://web.mit.edu/kerberos/advisories/"},{"url":"https://www.samba.org/samba/security/CVE-2022-42898.html"},{"url":"https://github.com/krb5/krb5/commit/ea92d2f0fcceb54a70910fa32e9a0d7a5afc3583"},{"url":"https://github.com/heimdal/heimdal/security/advisories/GHSA-64mq-fvfj-5x3c"},{"url":"https://web.mit.edu/kerberos/krb5-1.20/README-1.20.1.txt"},{"url":"https://web.mit.edu/kerberos/krb5-1.19/"},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=15203"},{"url":"https://security.netapp.com/advisory/ntap-20230216-0008/"},{"url":"https://security.netapp.com/advisory/ntap-20230223-0001/"},{"url":"https://security.gentoo.org/glsa/202309-06","name":"GLSA-202309-06","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202310-06","name":"GLSA-202310-06","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-10-08T08:06:38.475Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://web.mit.edu/kerberos/advisories/","tags":["x_transferred"]},{"url":"https://www.samba.org/samba/security/CVE-2022-42898.html","tags":["x_transferred"]},{"url":"https://github.com/krb5/krb5/commit/ea92d2f0fcceb54a70910fa32e9a0d7a5afc3583","tags":["x_transferred"]},{"url":"https://github.com/heimdal/heimdal/security/advisories/GHSA-64mq-fvfj-5x3c","tags":["x_transferred"]},{"url":"https://web.mit.edu/kerberos/krb5-1.20/README-1.20.1.txt","tags":["x_transferred"]},{"url":"https://web.mit.edu/kerberos/krb5-1.19/","tags":["x_transferred"]},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=15203","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20230216-0008/","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20230223-0001/","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202309-06","name":"GLSA-202309-06","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202310-06","name":"GLSA-202310-06","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T13:19:05.317Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-14T16:11:12.341307Z","id":"CVE-2022-42898","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","type":"CWE","lang":"en","description":"CWE-190 Integer Overflow or Wraparound"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-14T18:33:09.110Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T18:26:41.154Z"},"x_adpType":"supplier"}]}}}