{"id":"CVE-2026-45713","revision":"e621ca996d5e4ea58c8d95e33807bc91","records":[{"revision":"e621ca996d5e4ea58c8d95e33807bc91","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-45713","aliases":[],"title":"Mailpit: Unauthenticated remote memory-exhaustion DoS via unlimited SMTP DATA and /api/v1/send body sizes","description":"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.","state":0,"publishedAt":"2026-07-20T15:01:01.489+00:00","modifiedAt":"2026-07-20T16:16:44.713+00:00","affected":[{"ecosystem":"Vendor product","name":"mailpit","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"axllent\",\n                    \"product\": \"mailpit\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.30.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/axllent/mailpit/security/advisories/GHSA-fpxj-m5q8-fphw","https://github.com/axllent/mailpit/releases/tag/v1.30.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-45713","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-45713","identifiers":["CVE-2026-45713"]},"retained":false,"historicalAffected":[]}],"coverage":[]}