Skip to main content
← All vulnerabilities
CVE-2026-67445GO-2026-6363GHSA-W878-PJ84-3J5V

Mailpit: SMTP command parser buffers unbounded command lines before syntax rejection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.30.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Mailpit is an email testing tool and API for developers. Prior to 1.30.4, Mailpit reads SMTP commands through internal/smtpd/smtpd.go session.readLine() using bufio.Reader.ReadString before session.parseLine() parses the verb or the RFC 5321 512-octet command-line limit is enforced. An unauthenticated remote SMTP client can send an oversized single command line that is fully allocated before syntax rejection or timeout, and the normal MaxMessageSize and DATA limits do not apply to this pre-DATA path. The same command reader is used by handleAuthLogin(), handleAuthPlain(), and handleAuthCramMD5() continuation lines, so concurrent oversized inputs can create memory pressure and reduce service availability. This issue is fixed in version 1.30.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • axllent mailpit

    fixed in 1.30.4

  • github.com/axllent/mailpitGo

    fixed in 1.30.4

References 3

GitHub · axllent/mailpit