CVE-2026-67447
Beschrijving NL
Mailpit is een e-mailtesttool en API voor ontwikkelaars. Van 1.30.0 tot 1.30.5 roept de interne/smtpd/smtpd.go readData() -functie van Mailpit bufio.Reader.ReadBytes aan voordat de len(data)+len(line) -groottecontrole wordt toegepast op de voltooide SMTP-gegevensregel tegen Server.MaxSize. Een niet-geverifieerde SMTP-client kan een enkele regel verzenden die groter is dan de geconfigureerde MaxMessageSize, waardoor de volledige regel wordt toegewezen voordat Mailpit de 552 5.3.4-afwijzing retourneert. Deze post-fix gap blijft bestaan nadat de normale multi-line data-accumulatie werd begrensd, en gelijktijdige oversized lijnen kunnen een aanzienlijke geheugendruk creëren buiten de geconfigureerde limiet voor berichtgrootte. Dit probleem is opgelost in versie 1.30.5.
Origineel (Engels) tonen
Mailpit is an email testing tool and API for developers. From 1.30.0 until 1.30.5, Mailpit's internal/smtpd/smtpd.go readData() function calls bufio.Reader.ReadBytes before applying the len(data)+len(line) size check to the completed SMTP DATA line against Server.MaxSize. An unauthenticated SMTP client can send a single line larger than the configured MaxMessageSize, causing the full line to be allocated before Mailpit returns the 552 5.3.4 rejection. This post-fix gap remains after normal multi-line DATA accumulation was bounded, and concurrent oversized lines can create substantial memory pressure beyond the configured message-size cap. This issue is fixed in version 1.30.5.