Skip to content

net/textproto: excessive CPU consumption in Reader.ReadResponse (CVE-2025-61724) #75716

@neild

Description

@neild

The Reader.ReadResponse function constructed a response string through
repeated string concatenation of lines. When the number of lines in a response is large,
this could cause excessive CPU consumption.

Thanks to Jakub Ciolek for reporting this issue.

This is CVE-2025-61724 and Go issue https://go.dev/issue/75716.


This is a PRIVATE issue for CVE-2025-61724, tracked in http://b/445534197 and fixed by https://go-internal-review.git.corp.google.com/c/go/+/2940.

/cc @golang/security and @golang/release

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Securityrelease-blocker

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions