Cloudanix VulnDB

CVE-2022-3559

High · 7.5

CVSS

7.5

EPSS

5.0%

Published

Oct 17, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the Exim email server can cause it to crash when handling certain incoming messages, potentially interrupting email service until restarted.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Network Service
Class
Memory Corruption
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

Use-after-free condition in the Regex Handler component triggered by crafted input manipulation, resulting in memory corruption that primarily impacts availability.

Why it matters to the business

Potential denial of service against mail servers, leading to disrupted email delivery and operational downtime; low immediate risk given age and lack of known exploitation.

How an attack unfolds

An attacker sends specially crafted network traffic or messages that exercise the regex processing path, causing the use-after-free to manifest as a crash or memory corruption without further privilege escalation observed.

How to fix it

Upgrade exim/exim to commit 107077d7fd6736711bf5cd980221723401d37c51 or later; apply the referenced patch 4e9ed49f8f12eb331b29bd5b6dc3693c520fddc2 if building from source.

How to confirm the fix worked

Verify installed Exim version or commit hash against the fixed commit; review build logs and running process version strings; test regex handling paths with known-good inputs post-upgrade.

Typical attack path

  1. Identify publicly reachable Exim SMTP or submission service
  2. Craft and transmit input that triggers regex handler processing
  3. Trigger use-after-free leading to process crash or instability
  4. Repeat to sustain denial of service

How to detect it

Examine mail server logs and process crash dumps for regex-related faults around the time of service restarts; correlate with inbound SMTP traffic spikes; no public exploitation artifacts are known.

What your security team should do

  • Prioritize patching Exim installations to the fixed commit within standard maintenance windows
  • Monitor upstream Exim releases for any follow-on corrections
  • Review mail server exposure and apply network segmentation where feasible

The record

A vulnerability was found in Exim and classified as problematic. This issue affects some unknown processing of the component Regex Handler. The manipulation leads to use after free. The name of the patch is 4e9ed49f8f12eb331b29bd5b6dc3693c520fddc2. It is recommended to apply a patch to fix this issue. The identifier VDB-211073 was assigned to this vulnerability.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard exim 0 0
Chainguard exim-cdb 0 0
Chainguard exim-dbmdb 0 0
Chainguard exim-dnsdb 0 0
Chainguard exim-doc 0 0
Chainguard exim-mysql 0 0
Chainguard exim-pgsql 0 0
Chainguard exim-scripts 0 0
Chainguard exim-sqlite 0 0
Chainguard exim-utils 0 0
Debian:11 exim4 0 No fix
Debian:11 exim4 0 4.94.2-7+deb11u4
Debian:12 exim4 0 4.96-4
Debian:13 exim4 0 4.96-4
SUSE:Package Hub 15 SP3 exim 0 4.94.2-bp153.5.1
SUSE:Package Hub 15 SP4 exim 0 4.94.2-bp154.2.3.1
SUSE:Package Hub 15 SP5 exim 0 4.97.1-bp155.5.9.1
Ubuntu:18.04:LTS exim4 0 4.90.1-1ubuntu1.10
Ubuntu:20.04:LTS exim4 0 4.93-13ubuntu1.7
Ubuntu:22.04:LTS exim4 0 4.95-4ubuntu2.2
Wolfi exim 0 0
Wolfi exim-cdb 0 0
Wolfi exim-dbmdb 0 0
Wolfi exim-dnsdb 0 0
Wolfi exim-doc 0 0
Wolfi exim-mysql 0 0
Wolfi exim-pgsql 0 0
Wolfi exim-scripts 0 0
Wolfi exim-sqlite 0 0
Wolfi exim-utils 0 0
openSUSE:Leap 15.3 exim 0 4.94.2-bp153.5.1
openSUSE:Leap 15.4 exim 0 4.94.2-bp154.2.3.1
openSUSE:Leap 15.5 exim 0 4.97.1-bp155.5.9.1
openSUSE:Tumbleweed exim 0 4.96-3.1

Related vulnerabilities