# CVE-2026-67445: Mailpit: SMTP command parser buffers unbounded command lines before syntax rejection

- 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.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-08-20T21:13:27.481Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-w878-pj84-3j5v, GO-2026-6363
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Mailpit is an email testing tool and API for developers. Prior to 1.30.4, Mailpit reads SMTP commands through internal/smtpd/smtpd.go session.readLine() using bufio.Reader.ReadString before session.parseLine() parses the verb or the RFC 5321 512-octet command-line limit is enforced. An unauthenticated remote SMTP client can send an oversized single command line that is fully allocated before syntax rejection or timeout, and the normal MaxMessageSize and DATA limits do not apply to this pre-DATA path. The same command reader is used by handleAuthLogin(), handleAuthPlain(), and handleAuthCramMD5() continuation lines, so concurrent oversized inputs can create memory pressure and reduce service availability. This issue is fixed in version 1.30.4.

(As written by CVE List.)

## Affected

- axllent mailpit: < 1.30.4
- github.com/axllent/mailpit (Go): before 1.30.4

## 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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/axllent/mailpit/security/advisories/GHSA-w878-pj84-3j5v> (advisory, web)
- <https://github.com/axllent/mailpit/commit/993bed95b3c74d95231af93bd0e0d4c3d5b4db4d> (fix, web)
- <https://github.com/axllent/mailpit/releases/tag/v1.30.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-67445> (advisory)
- <https://github.com/axllent/mailpit> (package)

## Sources

- CVE List: [CVE-2026-67445](https://www.cve.org/CVERecord?id=CVE-2026-67445), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-w878-pj84-3j5v](https://github.com/advisories/GHSA-w878-pj84-3j5v), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6363](https://pkg.go.dev/vuln/GO-2026-6363), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-67445](https://nvd.nist.gov/vuln/detail/CVE-2026-67445), Public domain, modified 2026-10-18

---

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