FreeBSD : mailpit -- Unauthenticated SMTP message crashes Mailpit (142f0839-e259-11f1-ab7d-10ffe07f9334)

high Nessus Plugin ID 381972

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the 142f0839-e259-11f1-ab7d-10ffe07f9334 advisory.

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.

Tenable has extracted the preceding description block directly from the FreeBSD security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?a1d45d77

http://www.nessus.org/u?a518ea42

Plugin Details

Severity: High

ID: 381972

File Name: freebsd_pkg_142f0839e25911f1ab7d10ffe07f9334.nasl

Version: 1.1

Type: Local

Published: 11/17/2026

Updated: 11/17/2026

Supported Sensors: Nessus

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:mailpit

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 11/17/2026

Vulnerability Publication Date: 11/17/2026