FreeBSD : Mailpit -- SMTP DATA line reader buffers over-limit input before size enforcement (562ff91e-8407-11f1-bfde-10ffe07f9334)

high Nessus Plugin ID 328332

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 562ff91e-8407-11f1-bfde-10ffe07f9334 advisory.

Mailpit author reports:
Mailpit's SMTP DATA reader enforces the configured MaxMessageSize only after bufio.Reader.ReadBytes('\n') has already buffered a complete DATA line. A remote unauthenticated SMTP client can send one line larger than the configured message-size cap and force memory allocation before Mailpit returns the expected 552 5.3.4 rejection, leaving patched versions still exposed to a single-line incomplete-fix variant of the earlier SMTP DATA body-size issue.

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?1f857fd8

http://www.nessus.org/u?5b140b7f

Plugin Details

Severity: High

ID: 328332

File Name: freebsd_pkg_562ff91e840711f1bfde10ffe07f9334.nasl

Version: 1.1

Type: Local

Published: 7/20/2026

Updated: 7/20/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: 7/20/2026

Vulnerability Publication Date: 7/20/2026