CVE-2022-45142: The fix for CVE-2022-3437 included changing memcmp to be constant time and a workaround for a compiler bug by
CVE-2022-45142 is a high-severity flaw (CVSS 7.5) affecting heimdal. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The fix for CVE-2022-3437 included changing memcmp to be constant time and a workaround for a compiler bug by adding "!= 0" comparisons to the result of memcmp. When these patches were backported to the heimdal-7.7.1 and heimdal-7.8.0 branches (and possibly other branches) a logic inversion sneaked in causing the validation of message integrity codes in gssapi/arcfour to be inverted.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 58%) |
| CISA exploited list | No |
| Weakness | CWE-354 |
| Published | 2023-03-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-45142?
heimdal: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-45142 being exploited?
CVE-2022-45142 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-45142 affect?
CVE-2022-45142 affects heimdal. Severity is high (CVSS 7.5). The fix for CVE-2022-3437 included changing memcmp to be constant time and a workaround for a compiler bug by adding "!= 0" comparisons to the result of memcmp. When these patches were backported to the heimdal-7.7.1 and heimdal-7.8.0 branc
How urgent is CVE-2022-45142?
Priority 42/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-42898 HIGH 8.8 UPGRADE UPGRADE 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
- CVE-2022-44640 CRITICAL 9.8 UPGRADE UPGRADE Heimdal before 7.7.1 allows remote attackers to execute arbitrary code because of an invalid free in the ASN.1
- CVE-2022-41916 MEDIUM 5.9 UPGRADE MITIGATE Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos
- CVE-2022-3116 HIGH 7.5 UPGRADE The Heimdal Software Kerberos 5 implementation is vulnerable to a null pointer dereferance
- CVE-2021-44758 HIGH 7.5 UPGRADE Heimdal before 7.7.1 allows attackers to cause a NULL pointer dereference in a SPNEGO acceptor via a preferred