MEDIUM5.3
GO-2025-4015
Excessive CPU consumption in Reader.ReadResponse in net/textproto
Quick fix
GO-2025-4015 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.24.8Details
The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a response is large, this can cause excessive CPU consumption.
Are you affected?
Enter the version of the package you're using.