CVE-2026-67447
MEDIUM 5.3CVSS 3.1Mailpit: SMTP DATA line reader buffers over-limit input before size enforcement
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.
- Published
- 20 Aug 2026
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-r553-m4fv-5v97GO-2026-6272
- Sources
- NVDJSONOSV GHSA-r553-m4fv-5v97JSONOSV GO-2026-6272JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/axllent/mailpit | >= 1.30.0, < 1.30.5 | 1.30.5 |
References
- https://github.com/axllent/mailpit/commit/8720c6bd8281fc00d458081908f1dbef8e59a98c · WEB, FIX
- https://github.com/axllent/mailpit/releases/tag/v1.30.5 · WEB
- https://github.com/axllent/mailpit/security/advisories/GHSA-r553-m4fv-5v97 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-67447 · ADVISORY
- https://github.com/axllent/mailpit · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 20 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2026)