GO-2026-7029
JSON

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 packageVersionsReported by
github.com/emersion/go-smtp (Go)from 0.15.0 before 0.25.1Go Vulnerability Database

References

Sources

SourceRecordLicence
Go Vulnerability DatabaseGO-2026-7029 changed 2026-11-23CC-BY-4.0