# CVE-2022-37452: Exim before 4.95 has a heap-based buffer overflow for the alias list in hostnamelookup in host.c when senderhostname is set.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.77%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-07T17:06:55.000Z
- Modified: 2026-06-17T04:55:07.057Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

Exim before 4.95 has a heap-based buffer overflow for the alias list in host_name_lookup in host.c when sender_host_name is set.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- exim exim: before 4.95
- debian debian_linux: 10.0

## References

- <https://github.com/ivd38/exim_overflow> (exploit, patch, third-party-advisory)
- <https://github.com/Exim/exim/wiki/EximSecurity> (release-notes, third-party-advisory)
- <https://www.exim.org/static/doc/security/> (vendor-advisory)
- <https://www.openwall.com/lists/oss-security/2022/08/06/8> (mailing-list, third-party-advisory)
- <https://github.com/Exim/exim/compare/exim-4.94...exim-4.95> (patch, release-notes, third-party-advisory)
- <https://github.com/Exim/exim/commit/d4bc023436e4cce7c23c5f8bb5199e178b4cc743> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/08/msg00014.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2022-37452](https://www.cve.org/CVERecord?id=CVE-2022-37452), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-37452](https://nvd.nist.gov/vuln/detail/CVE-2022-37452), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-37452 · Whole record: https://cve.day/CVE-2022-37452.json · Rebuilt by cve.day 2026-11-25T22:58:13.465Z
