ADVISORIES

Go Vulnerability Database

GO-2026-6608

Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart

Details

Parsing a multipart form can bypass memory limits and read an arbitrarily long line into memory when the remaining limit at the start of a part is less than 400 bytes.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.26.9 (fixed in 1.26.9)
From 1.27.0-0 before 1.27.2 (fixed in 1.27.2)

References