CVE-2022-3559 Exim Regex use after free

Medium 4.6 Published Updated

A use-after-free vulnerability in Exim's regex handler allows attackers to potentially execute arbitrary code or cause a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3559?

CVE-2022-3559 is a medium-severity use after free vulnerability in Exim Exim, published on 17 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-416, CWE-119

Which versions are affected by CVE-2022-3559?

It affects 2 products.

Linux distribution packages (5)
exim SUSE:Package Hub 15 SP3All versions4.94.2-bp153.5.1
exim SUSE:Package Hub 15 SP4All versions4.94.2-bp154.2.3.1
exim openSUSE:Leap 15.3All versions4.94.2-bp153.5.1
exim openSUSE:Leap 15.4All versions4.94.2-bp154.2.3.1
exim openSUSE:TumbleweedAll versions4.96-3.1

Products include Exim Exim, Fedoraproject Fedora.

How do I fix CVE-2022-3559?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-3559 being exploited?

There is no known exploitation of CVE-2022-3559 in the wild and no public exploit code.

All Exim Exim vulnerabilities

Sources

Also known as CLSA-2023-1699908139, CLSA-2023-1699908687, DEBIAN-CVE-2022-3559, GHSA-86wj-xg3c-r8gx, UBUNTU-CVE-2022-3559, USN-5741-1 and 3 more.

Is CVE-2022-3559 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free