CVE-2026-67445: Mailpit SMTP command parser unbounded buffering denial of service

CVE-2026-67445 · Severity: high · CVSS 7.5 · Published 2026-08-20

Mailpit's SMTP server reads incoming command lines into memory without enforcing RFC 5321's 512-octet limit, allowing unauthenticated remote attackers to force excessive heap allocation by sending oversized single commands. By repeating this across multiple connections, an attacker can exhaust server memory and disrupt email processing and availability.

Technologies: Axllent Mailpit, github.com/axllent/mailpit (Go). Vendors: Axllent, Go.

Quick answers

Is CVE-2026-67445 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-67445 being exploited in the wild.
How severe is CVE-2026-67445?
High severity, with a CVSS score of 7.5, published 20 August 2026.
Which products and versions are affected?
Axllent Mailpit <= 1.30.3; github.com/axllent/mailpit (Go) <= 1.30.3, SEMVER:introduced=0,fixed=1.30.4.
Is there a fix for CVE-2026-67445?
Yes. github.com/axllent/mailpit (Go): upgrade to 1.30.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-67445 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-67445?
Check whether you run Axllent Mailpit or github.com/axllent/mailpit (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/axllent/mailpit (Go): upgrade to 1.30.4 or later
    go get github.com/axllent/mailpit@v1.30.4

Technical details

The vulnerability is a resource exhaustion flaw (CWE-400) in Mailpit's SMTP command handling. The `readLine()` function in `internal/smtpd/smtpd.go` uses `bufio.Reader.ReadString('\n')` to read commands without enforcing a maximum length, buffering the entire attacker-supplied line into heap memory before any command validation occurs. This violates RFC 5321 section 4.5.3.1.4, which mandates a 512-octet limit for SMTP command lines. An unauthenticated attacker with network access to the SMTP listener (default `[::]:1025`) can send multi-megabyte command lines repeatedly across concurrent connections to consume process memory and trigger denial of service. The DATA message-size limit (`MaxMessageSize`, default 50 MiB) does not protect against this, as the vulnerability exists in pre-DATA command processing. Patch version 1.30.4 is available; all prior versions including v1.30.3 and develop are affected.

Affected products

  • Axllent Mailpit <= 1.30.3

Identifiers

  • CVE-2026-67445
  • GHSA-w878-pj84-3j5v
  • GO-2026-6363

Timeline

  • 2026-07-09: disclosed
  • 2026-09-02: advisory
  • 2026-09-02: patched: Fixed in version 1.30.4

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.