Every CVE Search/ Get API key

CVE-2022-44640

CVE-2022-44640 affecting package samba for versions less than 4.18.3-1

9.8 CriticalFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.35%Down 0.4 points since Dec 25, 2022
90%50%10%1%

What each source reports

NVD Score used 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).

Record
CVE-2022-44640
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-415
Updated
2026-11-02
CVE List 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).

Record
CVE-2022-44640
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-415
Updated
2026-11-02
EUVDEUVD-2022-47576 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).

Record
EUVD-2022-47576
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALPINE-CVE-2022-44640 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).

Record
ALPINE-CVE-2022-44640
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVAZL-44388 9.8

CVE-2022-44640 affecting package samba for versions less than 4.18.3-1

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

Record
AZL-44388
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2022-44640 9.8

CVE-2022-44640 does not affect BellSoft software

Record
BELL-CVE-2022-44640
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 10 moreShow less
OSV 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).

Record
CVE-2022-44640
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2022-44640 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).

Record
DEBIAN-CVE-2022-44640
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVOESA-2022-2153 8.7

samba security update

Security Fix(es):

Invalid free in ASN.1 codec

Record
OESA-2022-2153
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2022-44640 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).

Record
UBUNTU-CVE-2022-44640
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2022-0468 No score

Updated heimdal packages fix security vulnerability

Isaac Boukris reported that the Heimdal KDC before 7.7.1 does not apply delegation_not_allowed (aka not-delegated) user attributes for S4U2Self. Instead the forwardable flag is set even if the impersonated client has the not-delegated flag set. (CVE-2019-14870)

Joseph Sutton discovered that the Heimdal KDC before 7.7.1 does not check for missing sname in TGS-REQ (Ticket Granting Server Request) before dereferencing. An authenticated user could use this flaw to crash the KDC. (CVE-2021-3671)

It was discovered that Heimdal is prone to a NULL dereference in acceptors when the initial SPNEGO token has no acceptable mechanisms, which may result in denial of service for a server application that uses the Simple and Protected GSSAPI Negotiation Mechanism (SPNEGO). (CVE-2021-44758)

Evgeny Legerov reported that the DES and Triple-DES decryption routines in the Heimdal GSSAPI library before 7.7.1 were prone to buffer overflow on malloc() allocated memory when presented with a maliciously small packet. In addition, the Triple-DES and RC4 (arcfour) decryption routine were prone to non-constant time leaks, which could potentially yield to a leak of secret key material when using these ciphers. (CVE-2022-3437)

It was discovered that Heimdal's PKI certificate validation library before 7.7.1 can under some circumstances perform an out-of-bounds memory access when normalizing Unicode, which may result in denial of service. (CVE-2022-41916)

Greg Hudson discovered an integer multiplication overflow in the Privilege Attribute Certificate (PAC) parsing routine, which may result in denial of service for Heimdal KDCs and possibly Heimdal servers (e.g., via GSS-API) on 32-bit systems. (CVE-2022-42898)

Douglas Bagnall and the Heimdal maintainers independently discovered that Heimdal's ASN.1 compiler before 7.7.1 generates code that allows specially crafted DER encodings of CHOICEs to invoke the wrong free() function on the decoded structure upon decode error, which may result in remote code execution in the Heimdal KDC and possibly the Kerberos client, the X.509 library, and other components as well. (CVE-2022-44640)

Record
MGASA-2022-0468
Updated
2026-11-02
OSVopenSUSE-SU-2023:0019-1 No score

Security update for libheimdal

This update for libheimdal fixes the following issues:

Update to version 7.8.0

  • CVE-2022-42898 PAC parse integer overflows
  • CVE-2022-3437 Overflows and non-constant time leaks in DES{,3} and arcfour
  • CVE-2022-41916 Fix Unicode normalization read of 1 bytes past end of array
  • CVE-2021-44758 A null pointer de-reference DoS in SPNEGO acceptors
  • CVE-2021-3671 A null pointer de-reference when handling missing sname in TGS-REQ
  • CVE-2022-44640 Heimdal KDC: invalid free in ASN.1 codec
  • CVE-2019-14870: Validate client attributes in protocol-transition
Record
openSUSE-SU-2023:0019-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0020-1 No score

Security update for libheimdal

This update for libheimdal fixes the following issues:

Update to version 7.8.0

  • CVE-2022-42898 PAC parse integer overflows
  • CVE-2022-3437 Overflows and non-constant time leaks in DES{,3} and arcfour
  • CVE-2022-41916 Fix Unicode normalization read of 1 bytes past end of array
  • CVE-2021-44758 A null pointer de-reference DoS in SPNEGO acceptors
  • CVE-2021-3671 A null pointer de-reference when handling missing sname in TGS-REQ
  • CVE-2022-44640 Heimdal KDC: invalid free in ASN.1 codec
  • CVE-2019-14870: Validate client attributes in protocol-transition
Record
openSUSE-SU-2023:0020-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12580-1 No score

libasn1-8-7.8.0-1.1 on GA media

These are all security issues fixed in the libasn1-8-7.8.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12580-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12587-1 No score

ctdb-4.17.4+git.300.305b22bfce-1.1 on GA media

These are all security issues fixed in the ctdb-4.17.4+git.300.305b22bfce-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12587-1
Updated
2026-11-02
OSVUSN-5800-1 No score

heimdal vulnerabilities

It was discovered that Heimdal incorrectly handled certain SPNEGO tokens. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-44758)

Evgeny Legerov discovered that Heimdal incorrectly handled memory when performing certain DES decryption operations. A remote attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2022-3437)

Greg Hudson discovered that Kerberos PAC implementation used in Heimdal incorrectly handled certain parsing operations. A remote attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2022-42898)

It was discovered that Heimdal's KDC did not properly handle certain error conditions. A remote attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2022-44640)

Record
USN-5800-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
heimdal
Alpine:v3.14
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.15
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.16
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.17
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.18
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.19
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.20
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.21
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.22
before 7.7.1-r0
7.7.1-r0
heimdal
Alpine:v3.23
before 7.7.1-r0
7.7.1-r0
Show 32 moreShow less
Affected packages
PackageAffectedFixed
heimdal
Alpine:v3.24
before 7.7.1-r0
7.7.1-r0
samba
Azure Linux:3
before 4.18.3-1
4.18.3-1
heimdal
Debian:12
before 7.8.git20221115.a6cf945+dfsg-1
7.8.git20221115.a6cf945+dfsg-1
heimdal
Debian:13
before 7.8.git20221115.a6cf945+dfsg-1
7.8.git20221115.a6cf945+dfsg-1
heimdal
Debian:14
before 7.8.git20221115.a6cf945+dfsg-1
7.8.git20221115.a6cf945+dfsg-1
samba
Debian:12
before 2:4.17.4+dfsg-1
2:4.17.4+dfsg-1
samba
Debian:13
before 2:4.17.4+dfsg-1
2:4.17.4+dfsg-1
samba
Debian:14
before 2:4.17.4+dfsg-1
2:4.17.4+dfsg-1
heimdal
Debian:10
From an advisory covering 7 CVEs
before 7.5.0+dfsg-3+deb10u1, plus listed versions
7.5.0+dfsg-3
7.5.0+dfsg-3+deb10u1
heimdal
Debian:11
From an advisory covering 6 CVEs
before 7.7.0+dfsg-2+deb11u2, plus listed versions
7.7.0+dfsg-27.7.0+dfsg-2+deb11u1
7.7.0+dfsg-2+deb11u2
heimdal
Mageia:8
From an advisory covering 7 CVEs
before 7.7.1-1.2.mga8
7.7.1-1.2.mga8
samba
openEuler:20.03-LTS-SP1
before 4.11.12-23.oe1
4.11.12-23.oe1
samba
openEuler:20.03-LTS-SP3
before 4.11.12-22.oe1
4.11.12-22.oe1
samba
openEuler:22.03-LTS
before 4.15.3-16.oe2203
4.15.3-16.oe2203
heimdal
Ubuntu:Pro:14.04:LTS
before 1.6~git20131207+dfsg-1ubuntu1.2+esm3, plus listed versions
1.6~git20120403+dfsg1-3ubuntu0.11.6~git20120403+dfsg1-3ubuntu0.21.6~git20131207+dfsg-1ubuntu11.6~git20131207+dfsg-1ubuntu1.11.6~git20131207+dfsg-1ubuntu1.21.6~git20131207+dfsg-1ubuntu1.2+esm11.6~git20131207+dfsg-1ubuntu1.2+esm2
1.6~git20131207+dfsg-1ubuntu1.2+esm3
heimdal
Ubuntu:Pro:16.04:LTS
before 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3, plus listed versions
1.6~rc2+dfsg-10ubuntu11.7~git20150920+dfsg-4ubuntu11.7~git20150920+dfsg-4ubuntu1.16.04.11.7~git20150920+dfsg-4ubuntu1.16.04.1+esm11.7~git20150920+dfsg-4ubuntu1.16.04.1+esm2
1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3
heimdal
Ubuntu:18.04:LTS
before 7.5.0+dfsg-1ubuntu0.3, plus listed versions
7.4.0.dfsg.1-27.5.0+dfsg-17.5.0+dfsg-1ubuntu0.17.5.0+dfsg-1ubuntu0.2
7.5.0+dfsg-1ubuntu0.3
heimdal
Ubuntu:20.04:LTS
before 7.7.0+dfsg-1ubuntu1.3, plus listed versions
7.5.0+dfsg-3build17.7.0+dfsg-17.7.0+dfsg-1ubuntu17.7.0+dfsg-1ubuntu1.17.7.0+dfsg-1ubuntu1.2
7.7.0+dfsg-1ubuntu1.3
heimdal
Ubuntu:22.04:LTS
All versions, plus listed versions
7.7.0+dfsg-2ubuntu27.7.0+dfsg-3ubuntu1
None known
heimdal
Ubuntu:24.04:LTS
All versions, plus listed versions
7.8.git20221117.28daf24+dfsg-3ubuntu17.8.git20221117.28daf24+dfsg-3ubuntu27.8.git20221117.28daf24+dfsg-3ubuntu37.8.git20221117.28daf24+dfsg-3ubuntu47.8.git20221117.28daf24+dfsg-4ubuntu17.8.git20221117.28daf24+dfsg-5ubuntu27.8.git20221117.28daf24+dfsg-5ubuntu3
None known
heimdal
Ubuntu:25.10
All versions, plus listed versions
7.8.git20221117.28daf24+dfsg-9ubuntu1
None known
heimdal
Ubuntu:26.10
All versions, plus listed versions
7.8.git20221117.28daf24+dfsg-11ubuntu17.8.git20221117.28daf24+dfsg-12ubuntu17.8.git20240113.1b4565a+dfsg-1ubuntu17.8.git20240113.1b4565a+dfsg-1ubuntu27.8.git20240113.1b4565a+dfsg-2ubuntu1
None known
heimdal
Ubuntu:26.04:LTS
All versions, plus listed versions
7.8.git20221117.28daf24+dfsg-9ubuntu17.8.git20221117.28daf24+dfsg-10ubuntu17.8.git20221117.28daf24+dfsg-11ubuntu1
None known
heimdal
Ubuntu:Pro:14.04:LTS
From an advisory covering 4 CVEs
before 1.6~git20131207+dfsg-1ubuntu1.2+esm3, plus listed versions
1.6~git20120403+dfsg1-3ubuntu0.11.6~git20120403+dfsg1-3ubuntu0.21.6~git20131207+dfsg-1ubuntu11.6~git20131207+dfsg-1ubuntu1.11.6~git20131207+dfsg-1ubuntu1.21.6~git20131207+dfsg-1ubuntu1.2+esm11.6~git20131207+dfsg-1ubuntu1.2+esm2
1.6~git20131207+dfsg-1ubuntu1.2+esm3
heimdal
Ubuntu:Pro:16.04:LTS
From an advisory covering 4 CVEs
before 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3, plus listed versions
1.6~rc2+dfsg-10ubuntu11.7~git20150920+dfsg-4ubuntu11.7~git20150920+dfsg-4ubuntu1.16.04.11.7~git20150920+dfsg-4ubuntu1.16.04.1+esm11.7~git20150920+dfsg-4ubuntu1.16.04.1+esm2
1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3
heimdal
Ubuntu:18.04:LTS
From an advisory covering 4 CVEs
before 7.5.0+dfsg-1ubuntu0.3, plus listed versions
7.4.0.dfsg.1-27.5.0+dfsg-17.5.0+dfsg-1ubuntu0.17.5.0+dfsg-1ubuntu0.2
7.5.0+dfsg-1ubuntu0.3
heimdal
Ubuntu:20.04:LTS
From an advisory covering 4 CVEs
before 7.7.0+dfsg-1ubuntu1.3, plus listed versions
7.5.0+dfsg-3build17.7.0+dfsg-17.7.0+dfsg-1ubuntu17.7.0+dfsg-1ubuntu1.17.7.0+dfsg-1ubuntu1.2
7.7.0+dfsg-1ubuntu1.3
libheimdal
SUSE:Package Hub 15 SP4
From an advisory covering 7 CVEs
before 7.8.0-bp154.2.4.1
7.8.0-bp154.2.4.1
libheimdal
openSUSE:Leap 15.4
From an advisory covering 7 CVEs
before 7.8.0-bp154.2.4.1
7.8.0-bp154.2.4.1
libheimdal
SUSE:Package Hub 15 SP3
From an advisory covering 7 CVEs
before 7.8.0-bp153.2.4.1
7.8.0-bp153.2.4.1
libheimdal
openSUSE:Leap 15.3
From an advisory covering 7 CVEs
before 7.8.0-bp153.2.4.1
7.8.0-bp153.2.4.1
samba
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 4.17.4+git.300.305b22bfce-1.1
4.17.4+git.300.305b22bfce-1.1

History

History
RecordedChangedSources
affected, factsOSV
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-44640 is a critical vulnerability (CVSS 9.8) in Heimdal Project Heimdal, published November 22, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.35%, the 83rd percentile. Fixed in heimdal 7.7.1-r0.

References

Show 28 moreShow less
MoveEnter Open