FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

mailpit -- Unauthenticated SMTP message crashes Mailpit

Affected packages
1.33.1 <= mailpit < 1.34.0

Details

VuXML ID 142f0839-e259-11f1-ab7d-10ffe07f9334
Discovery 2026-11-17
Entry 2026-11-17

Mailpit author reports:

internal/mimeparser/mimeparser.go:40 writes decoded RFC 2231 parameters into the map returned by enmime's tolerant mediatype.Parse. That parser can legally return a nil map with a nil error, and ParseMediaType only checks the error, not params == nil. A message part whose Content-Type media type is a single non-ASCII whitespace character (U+00A0) and that carries an extended parameter such as a*=iso-8859-1''%E9 reaches the loop, the assignment panics, and the panic runs inside the per-connection SMTP goroutine, which has no recover. One anonymous SMTP message kills the whole process: SMTP, web UI and REST API together.

References

URL https://github.com/axllent/mailpit/security/advisories/GHSA-v887-64wg-qqc9