GO-2026-6608

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

At a glance

Published
Updated
CVE
CVE-2026-94440
Aliases
BIT-golang-2026-94440

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 packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.26.9, introduced 1.27.0-0, fixed 1.27.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database