Vulnerability Report: GO-2026-7029
- Affects: github.com/emersion/go-smtp
- Published: Nov 23, 2026
Conn.handleBdat disables the line length limit on the connection reader while reading a BDAT chunk and only restored it on error or on the final BDAT LAST chunk. A remote client that sends another command between two BDAT commands in a transaction bypasses Server.MaxLineLength, allowing unbounded memory allocation and denial of service.
Affected Packages
-
PathVersionsSymbols
-
from v0.15.0 before v0.25.1
References
- https://github.com/emersion/go-smtp/commit/eb903bcc09670a2b04a7b5f210c29c465289df1a
- https://github.com/golang/vulndb/issues/7029
- https://github.com/emersion/go-smtp/releases/tag/v0.25.1
- https://vuln.go.dev/ID/GO-2026-7029.json
Credits
- Qiyi Deng, Wuhan UniversityMin Shi, Wuhan University, Yongkang Xiao, Wuhan University, Jing Chen, Wuhan University
Feedback
See anything missing or incorrect?
Suggest an edit to this report.