GO-2025-4015

Source
https://pkg.go.dev/vuln/GO-2025-4015
Import Source
https://vuln.go.dev/ID/GO-2025-4015.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2025-4015
Aliases
Published
2025-10-29T21:51:07Z
Modified
2025-11-06T13:59:33.352271Z
Summary
Excessive CPU consumption in Reader.ReadResponse in net/textproto
Details

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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2025-4015"
}
References
Credits
    • Jakub Ciolek

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.8
Introduced
1.25.0
Fixed
1.25.2

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "Reader.ReadResponse"
            ],
            "path": "net/textproto"
        }
    ]
}