7.5High

CVE-2026-94440Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart

Go standard library net/textproto; Go standard library mime/multipart Published: (1 month ago)

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.

Weakness (CWE): CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library mime/multipart < 1.26.9, 1.27.0-0 – < 1.27.2
Go standard library net/textproto < 1.26.9, 1.27.0-0 – < 1.27.2

References and patches