CVE-2022-44640: Heimdal before 7.7.1 allows remote attackers to execute arbitrary code because of an invalid free in the ASN.1
CVE-2022-44640 is a critical-severity flaw (CVSS 9.8) affecting heimdal, samba. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Heimdal before 7.7.1 allows remote attackers to execute arbitrary code because of an invalid free in the ASN.1 codec used by the Key Distribution Center (KDC).
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.3% (top 16%) |
| CISA exploited list | No |
| Weakness | CWE-415 |
| Published | 2022-12-25 |
| 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-44640?
heimdal: upgrade to 7.7.1; samba: upgrade to 4.15.3, 4.16.8, 4.17.4. Exact commands for each OS are on this page.
Is CVE-2022-44640 being exploited?
CVE-2022-44640 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-44640 affect?
CVE-2022-44640 affects heimdal, samba. Severity is critical (CVSS 9.8). Heimdal before 7.7.1 allows remote attackers to execute arbitrary code because of an invalid free in the ASN.1 codec used by the Key Distribution Center (KDC).
How urgent is CVE-2022-44640?
Priority 60/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
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-45142 HIGH 7.5 DOWNGRADE The fix for CVE-2022-3437 included changing memcmp to be constant time and a workaround for a compiler bug by
- 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