Skip to main content
Menu
Advisories

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

GO-2026-6608BIT-GOLANG-2026-94440Published Updated Go

Description

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 versions

References