Home

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.

PUBLISHED Reserved 2025-09-30 | Published 2025-10-29 | Updated 2025-10-30 | Assigner Go

Problem types

CWE-407: Inefficient Algorithmic Complexity

Product status

Default status
unaffected

Any version before 1.24.8
affected

1.25.0 (semver) before 1.25.2
affected

Credits

Jakub Ciolek

References

go.dev/cl/709859

go.dev/issue/75716

groups.google.com/g/golang-announce/c/4Emdl2iQ_bI

pkg.go.dev/vuln/GO-2025-4015

cve.org (CVE-2025-61724)

nvd.nist.gov (CVE-2025-61724)

Download JSON