Skip to main content

Uncontrolled Resource Consumption

CVE-2026-67445

Severity Medium
Score 5.3/10

Summary

Mailpit is an email testing tool and API for developers. Prior to version 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published