# CVE-2022-45142

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-03-06 · Modified: 2025-03-06
- Aliases: ALPINE-CVE-2022-45142, MGASA-2023-0098, UBUNTU-CVE-2022-45142, USN-5849-1, DEBIAN-CVE-2022-45142, DLA-3311-1, DSA-5344-1, CGA-5fwh-ff5r-5f9f, CGA-rc2j-c23r-xqm2
- Record: https://cvemate.com/vulnerability/CVE-2022-45142 · JSON: https://cvemate.com/vulnerability/CVE-2022-45142/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.491%, percentile 43.791%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine heimdal (Alpine Linux): \< 7.7.1-r1 \| \< 7.7.1-r0 \| \< 7.8.0-r1 \| \< 7.8.0-r2
- chainguard heimdal (Chainguard): \< 7.8.0-r1
- wolfi heimdal (Wolfi): \< 7.8.0-r1
- debian heimdal (Debian): \< 7.5.0+dfsg-3+deb10u2 \| \< 7.7.0+dfsg-2+deb11u3 \| \< 7.8.git20221117.28daf24+dfsg-1.1
- ubuntu heimdal (Ubuntu): \< 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)
- heimdal\_project heimdal: 7.7.1 \| 7.8.0
- mageia heimdal (Mageia): \< 7.7.1-1.3.mga8

## References

- <https://www.openwall.com/lists/oss-security/2023/02/08/1>
- <https://security.gentoo.org/glsa/202310-06>
- <https://security.alpinelinux.org/vuln/CVE-2022-45142>
- <https://advisories.mageia.org/MGASA-2023-0098.html>
- <https://bugs.mageia.org/show_bug.cgi?id=31530>
- <https://www.debian.org/security/2023/dsa-5344>
- <https://ubuntu.com/security/notices/USN-5849-1>
- <https://ubuntu.com/security/CVE-2022-45142>
- <https://www.cve.org/CVERecord?id=CVE-2022-45142>
- <https://security-tracker.debian.org/tracker/CVE-2022-45142>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45142.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45142>

---

Data as of 2026-12-05T04:35:59.403Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
