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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-20T21:15:06.567Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-r553-m4fv-5v97, GO-2026-6272
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- axllent mailpit: >= 1.30.0, < 1.30.5
- github.com/axllent/mailpit (Go): from 1.30.0 before 1.30.5

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

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

## Sources

- CVE List: [CVE-2026-67447](https://www.cve.org/CVERecord?id=CVE-2026-67447), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-r553-m4fv-5v97](https://github.com/advisories/GHSA-r553-m4fv-5v97), CC-BY-4.0, modified 2026-09-02
- Go Vulnerability Database: [GO-2026-6272](https://pkg.go.dev/vuln/GO-2026-6272), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-67447](https://nvd.nist.gov/vuln/detail/CVE-2026-67447), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-67447 · Whole record: https://cve.day/CVE-2026-67447.json · Rebuilt by cve.day 2026-11-25T22:59:34.742Z
