Excessive CPU consumption in Reader.ReadResponse in net/textproto
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.
02 / AFFECTED SOFTWARE
Affected packages
149 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
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.
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.
05 / REFERENCES
Further evidence
- https://go.dev/cl/709859
- https://go.dev/issue/75716
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
- http://www.openwall.com/lists/oss-security/2025/10/08/1
- https://nvd.nist.gov/vuln/detail/CVE-2025-61724
- https://pkg.go.dev/vuln/GO-2025-4015
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61724.json
- https://pkg.go.dev