REDHAT-BUG-2548341: Medium severity go mime/multipart vulnerability
Published Oct 8, 2026
·Updated
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 Software
1 affected component
go mime/multipart
Event History
Oct 8, 2026
Data Sourced
via Red Hat·11:01 PM
DescriptionSeverityAffected Software
Frequently Asked Questions
1
What input is required to trigger the memory-limit bypass?
An attacker needs to supply a multipart form containing a part that begins when the remaining memory limit is below 400 bytes, allowing an arbitrarily long line to be read into memory.
2
What is the likely impact of successful exploitation?
The parser can read an arbitrarily long line into memory despite the configured memory limit, which can cause excessive memory consumption.
3
How can I determine whether my application may be exposed?
Review whether the application parses attacker-controlled multipart form data using Go's mime/multipart package and relies on its memory limits to constrain multipart parsing.