GO-2026-7029
Not scored
Unbounded memory allocation during BDAT transaction in github.com/emersion/go-smtp
- Severity
- Not scored
- Published
- Last changed
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/emersion/go-smtp (Go) | from 0.15.0 before 0.25.1 | Go Vulnerability Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| Go Vulnerability Database | GO-2026-7029 changed 2026-11-23 | CC-BY-4.0 |