CVE-2022-45142: heimdal_project heimdal
Vulnerability summary
CVE-2022-45142 is a high (CVSS 7.5) vulnerability in heimdal_project heimdal. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 40.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 06-03-2023PublishedVulnerability first disclosed.
- 06-03-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
0.00 pp
From 0.49% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- heimdal< 7.7.1-r1 | < 7.7.1-r0 | < 7.8.0-r1 | < 7.8.0-r2
Chainguard1 product
- heimdal< 7.8.0-r1
Debian1 product
- heimdal< 7.7.0+dfsg-2+deb11u3 | < 7.5.0+dfsg-3+deb10u2 | < 7.8.git20221117.28daf24+dfsg-1.1
Heimdal_project1 product
- heimdal7.7.1 | 7.8.0
Mageia1 product
- heimdal< 7.7.1-1.3.mga8
Ubuntu1 product
- heimdal< 1.6~git20131207+dfsg-1ubuntu1.2+esm4 | < 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4 | < 7.5.0+dfsg-1ubuntu0.4 | < 7.7.0+dfsg-1ubuntu1.4 | All versions (No fix recorded)
Wolfi1 product
- heimdal< 7.8.0-r1
7 vendors · 7 products