Every CVE Search/ Get API key

CVE-2022-41916

Read one byte past a buffer when normalizing Unicode

5.9 MediumFix available

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.00%Up 0.1 points since Nov 16, 2022
90%50%10%1%

What each source reports

CVE List Score used 5.9

Read one byte past a buffer when normalizing Unicode

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
CVE-2022-41916
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-193
Updated
2026-11-02
EUVDEUVD-2022-45046 5.9

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
EUVD-2022-45046
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
NVD 5.9

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
CVE-2022-41916
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-193
Updated
2026-11-02
OSVALPINE-CVE-2022-41916 7.5

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
ALPINE-CVE-2022-41916
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVAZL-11457 7.5

CVE-2022-41916 affecting package heimdal for versions less than 7.7.1-1

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
AZL-11457
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-44835 7.5

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

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
AZL-44835
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 9 moreShow less
OSVBELL-CVE-2022-41916 7.5

CVE-2022-41916 does not affect BellSoft software

Record
BELL-CVE-2022-41916
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.9

Read one byte past a buffer when normalizing Unicode

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
CVE-2022-41916
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-193
Updated
2026-11-02
OSVDEBIAN-CVE-2022-41916 7.5

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
DEBIAN-CVE-2022-41916
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVUBUNTU-CVE-2022-41916 5.9

Heimdal is an implementation of ASN.1/DER, PKIX, and Kerberos. Versions prior to 7.7.1 are vulnerable to a denial of service vulnerability in Heimdal's PKI certificate validation library, affecting the KDC (via PKINIT) and kinit (via PKINIT), as well as any third-party applications using Heimdal's libhx509. Users should upgrade to Heimdal 7.7.1 or 7.8. There are no known workarounds for this issue.

Record
UBUNTU-CVE-2022-41916
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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
OSVUSN-5766-1 No score

heimdal vulnerability

It was discovered that Heimdal did not properly manage memory when normalizing Unicode. An attacker could possibly use this issue to cause a denial of service.

Record
USN-5766-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 22 moreShow less
Affected packages
PackageAffectedFixed
heimdal
Alpine:v3.24
before 7.7.1-r0
7.7.1-r0
heimdal
Azure Linux:2
before 7.7.1-1
7.7.1-1
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
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
heimdal
Ubuntu:Pro:14.04:LTS
before 1.6~git20131207+dfsg-1ubuntu1.2+esm2, 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+esm1
1.6~git20131207+dfsg-1ubuntu1.2+esm2
heimdal
Ubuntu:Pro:16.04:LTS
before 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm2, 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+esm1
1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm2
heimdal
Ubuntu:18.04:LTS
before 7.5.0+dfsg-1ubuntu0.2, plus listed versions
7.4.0.dfsg.1-27.5.0+dfsg-17.5.0+dfsg-1ubuntu0.1
7.5.0+dfsg-1ubuntu0.2
heimdal
Ubuntu:20.04:LTS
before 7.7.0+dfsg-1ubuntu1.2, plus listed versions
7.5.0+dfsg-3build17.7.0+dfsg-17.7.0+dfsg-1ubuntu17.7.0+dfsg-1ubuntu1.1
7.7.0+dfsg-1ubuntu1.2
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
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

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-41916 is a medium vulnerability (CVSS 5.9) in Heimdal, published November 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.00%, the 62nd percentile. Fixed in heimdal 7.7.1-r0.

References

Show 22 moreShow less
MoveEnter Open