CVE & CISA-KEV Catalog

CVE-2022-45142

HIGH
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
heimdalDebian
Fixed in:7.8.git20221117.28daf24+dfsg-1.1CVE-2022-45142
Fixed in:7.8.git20221117.28daf24+dfsg-1.1CVE-2022-45142
Fixed in:7.8.git20221117.28daf24+dfsg-1.1CVE-2022-45142
heimdalUbuntu
Fixed in:1.6~git20131207+dfsg-1ubuntu1.2+esm4USN-5849-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4USN-5849-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:7.5.0+dfsg-1ubuntu0.4USN-5849-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:7.7.0+dfsg-1ubuntu1.4USN-5849-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

libgssapi3-heimdalUbuntu
Fixed in:1.6~git20131207+dfsg-1ubuntu1.2+esm4USN-5849-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4USN-5849-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:7.5.0+dfsg-1ubuntu0.4USN-5849-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:7.7.0+dfsg-1ubuntu1.4USN-5849-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

0.49%probability of exploitation in 30 days
41stpercentile

Moderate risk: more likely to be exploited than 41% of all known CVEs.

References

Mailing List1
Other references1

Related Vulnerabilities

Other CWE-354 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-48795Medium5.993%-Fix
CVE-2019-1166Medium5.968%--
CVE-2024-3596Critical9.015%-Fix
CVE-2020-26141Medium6.53.1%-Fix
CVE-2020-25862High7.52.4%-Fix
CVE-2023-38802High7.51.8%-Fix

Common questions

How do I fix CVE-2022-45142?

Published advisories record a fix for 3 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-45142 being actively exploited?

Not that we know of. CVE-2022-45142 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.49% is the estimated probability that it will be exploited in the next 30 days. That is higher than 41% of all scored CVEs.

How severe is CVE-2022-45142?

CVE-2022-45142 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-45142 affect?

Published advisories record a fix for heimdal (Debian), heimdal (Ubuntu), libgssapi3-heimdal (Ubuntu). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-45142
CVE-2022-45142 severity badge

Markdown

[![CVE-2022-45142](https://tridentstack.com/cve/badge/CVE-2022-45142.svg)](https://tridentstack.com/cve/CVE-2022-45142)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-45142"><img src="https://tridentstack.com/cve/badge/CVE-2022-45142.svg" alt="CVE-2022-45142"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.