CVE-2026-67445: CWE-400: Uncontrolled Resource Consumption in axllent mailpit
Description
Mailpit's SMTP server has an uncontrolled resource consumption vulnerability due to unbounded reading of SMTP command lines. The server reads command lines without enforcing the RFC 5321 limit of 512 octets, allowing a remote unauthenticated client to send oversized commands that cause large memory allocations. This can lead to denial of service by exhausting process memory. The issue affects versions prior to 1.30.4.
CVSS v3.1
Score 5.3medium
Affected software
axllent
mailpit
pkg:golang/github.com/axllent/mailpitRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Mailpit's SMTP server reads each command line using bufio.Reader.ReadString('\n') without a maximum length limit before parsing or enforcing protocol length restrictions. Although RFC 5321 limits SMTP command lines to 512 octets including CRLF, Mailpit accepts much larger lines, demonstrated by a proof-of-concept test sending an 8 MiB command line. This unbounded read allows a remote unauthenticated client to cause large heap allocations, potentially degrading or denying service. The vulnerability exists in the command reading loop and is distinct from message DATA size limits, which are enforced separately. The issue affects Mailpit versions prior to 1.30.4.
Potential Impact
An unauthenticated remote attacker can connect to Mailpit's SMTP listener and send oversized command lines that cause the server to allocate large amounts of memory. This can lead to resource exhaustion and denial of service, impacting availability. There is no impact on confidentiality or integrity. The vulnerability does not require authentication and can be exploited remotely.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, limit exposure of the SMTP service to untrusted networks or implement external protections such as connection rate limiting or proxy filtering to restrict oversized commands.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-29T15:07:24.992Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a87701facd9273b49247125
Added to database: 08/20/2026, 21:22:39 UTC
Last enriched: 09/10/2026, 21:47:19 UTC
Last updated: 10/05/2026, 06:48:18 UTC
Views: 76
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.