5.3Medium

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

Go standard library net/textproto Published: (1 year ago)

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.

Weakness (CWE): CWE-407CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library net/textproto < 1.24.8, 1.25.0 – < 1.25.2
golang go < 1.24.8

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.24.8
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.25.0 < 1.25.2