Every CVE Search/ Get API key

CVE-2022-37452

Exim before 4.95 has a heap-based buffer overflow for the alias list in host_name_lookup in host...

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.77%Up 2.7 points since Aug 8, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2022-37452
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2022-37452
Updated
2026-11-02
EUVDEUVD-2022-40078 No score

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.

Record
EUVD-2022-40078
Updated
2026-11-03
GitHub AdvisoriesGHSA-2xwx-3gmg-f9vj 9.8

Exim before 4.95 has a heap-based buffer overflow for the alias list in host_name_lookup in host...

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.

Record
GHSA-2xwx-3gmg-f9vj
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVDEBIAN-CVE-2022-37452 9.8

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.

Record
DEBIAN-CVE-2022-37452
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVUBUNTU-CVE-2022-37452 9.8

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.

Record
UBUNTU-CVE-2022-37452
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVCLSA-2022-1660759272 No score

Fixed CVEs in exim: CVE-2022-37451, CVE-2022-37452

  • CVE-2022-37452: fix heap-based buffer overflow for the alias list in host_name_lookup()
  • CVE-2022-37451: fix invalid free in pam_converse()
Record
CLSA-2022-1660759272
Updated
2026-11-02
OSVCLSA-2022-1660761670 No score

Fixed CVEs in exim: CVE-2022-37451, CVE-2022-37452

  • CVE-2022-37452: fix heap-based buffer overflow for the alias list in host_name_lookup()
  • CVE-2022-37451: fix invalid free in pam_converse()
Record
CLSA-2022-1660761670
Updated
2026-11-02
OSVCLSA-2022-1661173443 No score

Fix CVE(s): CVE-2022-37452, CVE-2022-37451

  • SECURITY UPDATE: exim heap overflow in host_name_lookup()
    • debian/patches/CVE-2022-37452.patch: fix host_name_lookup
    • CVE-2022-37452
  • SECURITY UPDATE: invalid free in pam_converse in auths/call_pam.c
    • debian/patches/CVE-2022-37451.patch: fix PAM auth
    • CVE-2022-37451
Record
CLSA-2022-1661173443
Updated
2026-11-02
OSVCLSA-2023-1689259028 No score

Fix CVE(s): CVE-2022-37452, CVE-2022-32546, CVE-2023-34151

  • SECURITY UPDATE: undefined behaviors of casting double to size_t in svg, mvg and other coders (recurring bugs of CVE-2022-32546)
    • debian/patches/CVE-2023-34151.patch: properly cast double to size_t
    • CVE-2022-37452
Record
CLSA-2023-1689259028
Updated
2026-11-02
OSV No score

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.

Record
CVE-2022-37452
Updated
2026-11-02
OSVUSN-5574-1 No score

exim4 vulnerability

It was discovered that Exim incorrectly handled certain inputs. An attacker could possibly use this issue to cause a crash or execute arbitrary code.

Record
USN-5574-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
exim
TuxCare:OracleLinux:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim-greylist
TuxCare:OracleLinux:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim-mon
TuxCare:OracleLinux:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim-mysql
TuxCare:OracleLinux:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim-pgsql
TuxCare:OracleLinux:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim
TuxCare:CentOS:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim-greylist
TuxCare:CentOS:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim-mon
TuxCare:CentOS:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim-mysql
TuxCare:CentOS:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
exim-pgsql
TuxCare:CentOS:6
before 4.92.3-3.el6.tuxcare.els2
4.92.3-3.el6.tuxcare.els2
Show 47 moreShow less
Affected packages
PackageAffectedFixed
exim4
TuxCare:Ubuntu:16.04
before 4.86.2-2ubuntu2.6+tuxcare.els2
4.86.2-2ubuntu2.6+tuxcare.els2
exim4-base
TuxCare:Ubuntu:16.04
before 4.86.2-2ubuntu2.6+tuxcare.els2
4.86.2-2ubuntu2.6+tuxcare.els2
exim4-config
TuxCare:Ubuntu:16.04
before 4.86.2-2ubuntu2.6+tuxcare.els2
4.86.2-2ubuntu2.6+tuxcare.els2
exim4-daemon-heavy
TuxCare:Ubuntu:16.04
before 4.86.2-2ubuntu2.6+tuxcare.els2
4.86.2-2ubuntu2.6+tuxcare.els2
exim4-daemon-light
TuxCare:Ubuntu:16.04
before 4.86.2-2ubuntu2.6+tuxcare.els2
4.86.2-2ubuntu2.6+tuxcare.els2
exim4-dev
TuxCare:Ubuntu:16.04
before 4.86.2-2ubuntu2.6+tuxcare.els2
4.86.2-2ubuntu2.6+tuxcare.els2
eximon4
TuxCare:Ubuntu:16.04
before 4.86.2-2ubuntu2.6+tuxcare.els2
4.86.2-2ubuntu2.6+tuxcare.els2
imagemagick
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
imagemagick-6-common
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
imagemagick-6-doc
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
imagemagick-6.q16
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
imagemagick-6.q16hdri
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
imagemagick-common
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
imagemagick-doc
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libimage-magick-perl
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libimage-magick-q16-perl
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libimage-magick-q16hdri-perl
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagick++-6-headers
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagick++-6.q16-7
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagick++-6.q16-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagick++-6.q16hdri-7
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagick++-6.q16hdri-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagick++-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-6-arch-config
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-6-headers
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-6.q16-3
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-6.q16-3-extra
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-6.q16-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-6.q16hdri-3
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-6.q16hdri-3-extra
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-6.q16hdri-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickcore-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickwand-6-headers
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickwand-6.q16-3
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickwand-6.q16-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickwand-6.q16hdri-3
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickwand-6.q16hdri-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
libmagickwand-dev
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
perlmagick
TuxCare:Ubuntu:18.04
before 8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
8:6.9.7.4+dfsg-16ubuntu6.15+tuxcare.els1
exim4
Debian:12
before 4.94.2-5
4.94.2-5
exim4
Debian:13
before 4.94.2-5
4.94.2-5
exim4
Debian:14
before 4.94.2-5
4.94.2-5
exim4
Debian:10
before 4.92-8+deb10u7, plus listed versions
4.92-84.92-8+deb10u14.92-8+deb10u1~bpo9+14.92-8+deb10u24.92-8+deb10u2~bpo9+1
Show 5 moreShow less
4.92-8+deb10u34.92-8+deb10u3~bpo9+14.92-8+deb10u44.92-8+deb10u54.92-8+deb10u6
4.92-8+deb10u7
exim4
Ubuntu:Pro:14.04:LTS
before 4.82-3ubuntu2.4+esm4, plus listed versions
4.80-7ubuntu34.80-7ubuntu44.80-9ubuntu14.80-9ubuntu24.82-3ubuntu1
Show 8 moreShow less
4.82-3ubuntu24.82-3ubuntu2.14.82-3ubuntu2.24.82-3ubuntu2.34.82-3ubuntu2.44.82-3ubuntu2.4+esm14.82-3ubuntu2.4+esm24.82-3ubuntu2.4+esm3
4.82-3ubuntu2.4+esm4
exim4
Ubuntu:Pro:16.04:LTS
before 4.86.2-2ubuntu2.6+esm2, plus listed versions
4.86-3ubuntu14.86-7ubuntu14.86-7ubuntu24.86-7ubuntu34.86.2-2ubuntu1
Show 8 moreShow less
4.86.2-2ubuntu24.86.2-2ubuntu2.14.86.2-2ubuntu2.24.86.2-2ubuntu2.34.86.2-2ubuntu2.44.86.2-2ubuntu2.54.86.2-2ubuntu2.64.86.2-2ubuntu2.6+esm1
4.86.2-2ubuntu2.6+esm2
exim4
Ubuntu:18.04:LTS
before 4.90.1-1ubuntu1.9, plus listed versions
4.89-5ubuntu14.89-9ubuntu14.89-9ubuntu24.89-9ubuntu34.89-9ubuntu4
Show 7 moreShow less
4.90.1-1ubuntu14.90.1-1ubuntu1.14.90.1-1ubuntu1.24.90.1-1ubuntu1.34.90.1-1ubuntu1.44.90.1-1ubuntu1.54.90.1-1ubuntu1.8
4.90.1-1ubuntu1.9
exim4
Ubuntu:20.04:LTS
before 4.93-13ubuntu1.6, plus listed versions
4.92.1-1ubuntu34.92.1-1ubuntu44.93~RC2-1ubuntu14.93-9ubuntu14.93-11ubuntu1
Show 4 moreShow less
4.93-12ubuntu14.93-13ubuntu14.93-13ubuntu1.14.93-13ubuntu1.5
4.93-13ubuntu1.6

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-37452 is a critical vulnerability (CVSS 9.8) in Exim, published August 7, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.77%, the 89th percentile. Fixed in exim 4.92.3-3.el6.tuxcare.els2.

References

Show 12 moreShow less
MoveEnter Open