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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203