CVE-2022-44640: Double Free

Published Dec 25, 2022
·
Updated

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).

Affected Software

6 affected componentsFixes available
debian/heimdal<=7.5.0+dfsg-3
7.5.0+dfsg-3+deb10u27.7.0+dfsg-2+deb11u37.8.git20221117.28daf24+dfsg-27.8.git20221117.28daf24+dfsg-3
debian/samba<=2:4.9.5+dfsg-5+deb10u3, <=2:4.9.5+dfsg-5+deb10u4, <=2:4.13.13+dfsg-1~deb11u5
2:4.17.12+dfsg-0+deb12u12:4.19.3+dfsg-2
Heimdal Project Heimdal<7.7.1
Samba Samba>=4.15.0<4.15.3
Samba Samba>=4.16.0<4.16.8
Samba Samba>=4.17.0<4.17.4

Event History

Dec 25, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of this security issue in Heimdal and Samba?

The vulnerability ID is CVE-2022-44640.

2

What is the severity level of CVE-2022-44640?

The severity level of CVE-2022-44640 is critical, with a severity value of 9.8.

3

How does CVE-2022-44640 allow remote attackers to execute arbitrary code?

CVE-2022-44640 allows remote attackers to execute arbitrary code due to an invalid free in the ASN.1 codec used by the Key Distribution Center (KDC).

4

Which versions of Heimdal are affected by CVE-2022-44640?

Versions up to and excluding 7.7.1 of Heimdal are affected by CVE-2022-44640.

5

Which versions of Samba are affected by CVE-2022-44640?

Versions from 4.15.0 up to and excluding 4.15.3, versions from 4.16.0 up to and excluding 4.16.8, and versions from 4.17.0 up to and excluding 4.17.4 of Samba are affected by CVE-2022-44640.

6

How can I fix the CVE-2022-44640 vulnerability in Heimdal?

To fix the CVE-2022-44640 vulnerability in Heimdal, update to version 7.7.1 or later.

7

How can I fix the CVE-2022-44640 vulnerability in Samba?

To fix the CVE-2022-44640 vulnerability in Samba, update to a version later than 4.17.4.

8

Where can I find more information about CVE-2022-44640?

More information about CVE-2022-44640 can be found at the following references: [GitHub Security Advisory](https://github.com/heimdal/heimdal/security/advisories/GHSA-88pm-hfmq-7vv4), [GitHub Commit](https://github.com/heimdal/heimdal/commit/ea5ec8f174920cb80ce2b168b49195378420449e), [Samba Bugzilla](https://bugzilla.samba.org/show_bug.cgi?id=14929).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203