# CVE-2026-45713: Mailpit: Unauthenticated remote memory-exhaustion DoS via unlimited SMTP DATA and /api/v1/send body sizes

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.30.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-20 · Modified: 2026-07-20
- Aliases: GHSA-fpxj-m5q8-fphw, GO-2026-5376
- Record: https://cvemate.com/vulnerability/CVE-2026-45713 · JSON: https://cvemate.com/vulnerability/CVE-2026-45713/json

## Description

```text
Mailpit is an email testing tool and API for developers. Prior to version 1.30.0, the Mailpit SMTP server has a Server.MaxSize int field that controls the maximum allowed DATA payload size, but the field is never assigned anywhere outside test code, leaving it at Go's zero value (0 ⇒ "no limit"). The same applies to the HTTP /api/v1/send endpoint, whose request body is decoded with json.NewDecoder(r.Body) and no http.MaxBytesReader. Because Mailpit's default listeners bind [::]:1025 (SMTP) and [::]:8025 (HTTP), with no authentication required on either, a single network-reachable attacker can push an arbitrarily large message into Mailpit and watch RAM consumption spike with a ~7-10× amplification factor (raw frame → enmime envelope tree → search-text index → zstd-encoded write to SQLite). Repeating the attack — or running it concurrently from multiple connections — drives the process to OOM-kill. Version 1.30.0 contains a patch.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.388%, percentile 35.032%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- axllent mailpit: \< 1.30.0
- github.com/axllent mailpit (Go): \< 1.30.0

## References

- <https://github.com/axllent/mailpit/security/advisories/GHSA-fpxj-m5q8-fphw>
- <https://github.com/axllent/mailpit/releases/tag/v1.30.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45713>
- <https://github.com/axllent/mailpit>

---

Data as of 2026-12-05T18:17:15.857Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
