Skip to main content
← All vulnerabilities
CVE-2026-67447GO-2026-6272GHSA-R553-M4FV-5V97

Mailpit: SMTP DATA line reader buffers over-limit input before size enforcement

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

Summary

Mailpit is an email testing tool and API for developers. From 1.30.0 until 1.30.5, Mailpit's internal/smtpd/smtpd.go readData() function calls bufio.Reader.ReadBytes before applying the len(data)+len(line) size check to the completed SMTP DATA line against Server.MaxSize. An unauthenticated SMTP client can send a single line larger than the configured MaxMessageSize, causing the full line to be allocated before Mailpit returns the 552 5.3.4 rejection. This post-fix gap remains after normal multi-line DATA accumulation was bounded, and concurrent oversized lines can create substantial memory pressure beyond the configured message-size cap. This issue is fixed in version 1.30.5.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • axllent mailpit

    From 1.30.0 · fixed in 1.30.5

  • github.com/axllent/mailpitGo

    From 1.30.0 · fixed in 1.30.5

References 3

GitHub · axllent/mailpit