What’s Vulnerable › Vulnerabilities

CVE-2025-61724: Excessive CPU consumption in Reader.ReadResponse in net/textproto

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Go 1.24.8, 1.25.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-61724 or the next vulnerability affects your stack