๐Ÿ” CVE Alert

CVE-2026-45713

HIGH 7.5

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

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-400 CWE-770
Vendor axllent
Product mailpit
Published Jul 20, 2026
Last Updated Jul 20, 2026
Stay Ahead of the Next One

Get instant alerts for axllent mailpit

Be the first to know when new high vulnerabilities affecting axllent mailpit are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

axllent / mailpit
< 1.30.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/axllent/mailpit/security/advisories/GHSA-fpxj-m5q8-fphw github.com: https://github.com/axllent/mailpit/releases/tag/v1.30.0