Use After Free Affecting exim4 package, versions <4.93-13ubuntu1.12+esm1


Severity

Recommended
high

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.23% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-EXIM4-16693546
  • published29 May 2026
  • disclosed12 May 2026

Introduced: 12 May 2026

CVE-2026-45185  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 exim4 to version 4.93-13ubuntu1.12+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream exim4 package and not the exim4 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

Exim before 4.99.3, in certain GnuTLS configurations, has a remotely reachable use-after-free in the BDAT body parsing path. It is triggered when a client sends a TLS close_notify mid-body during a CHUNKING transfer, followed by a final cleartext byte on the same TCP connection. This can lead to heap corruption. An unauthenticated network attacker exploiting this vulnerability could execute arbitrary code.