# CVE-2026-67447: Mailpit: SMTP DATA line reader buffers over-limit input before size enforcement

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-20 · Modified: 2026-08-21
- Aliases: GHSA-r553-m4fv-5v97, GO-2026-6272
- Record: https://cvemate.com/vulnerability/CVE-2026-67447 · JSON: https://cvemate.com/vulnerability/CVE-2026-67447/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.451%, percentile 40.926%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- axllent mailpit: ≥ 1.30.0, \< 1.30.5
- github.com/axllent mailpit (Go): ≥ 1.30.0, \< 1.30.5

## References

- <https://github.com/axllent/mailpit/security/advisories/GHSA-r553-m4fv-5v97>
- <https://github.com/axllent/mailpit/commit/8720c6bd8281fc00d458081908f1dbef8e59a98c>
- <https://github.com/axllent/mailpit/releases/tag/v1.30.5>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-67447>
- <https://github.com/axllent/mailpit>

---

Data as of 2026-12-05T14:13:17.628Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
