# GO-2026-6608: Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart

- Database: Go
- Also known as: BIT-GOLANG-2026-94440
- Published: 2026-10-08
- Modified: 2026-11-23

## Tracked as

- [CVE-2026-94440](https://cve.now/CVE-2026-94440.md): Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart

## Affected versions

- stdlib (Go): fixed in 1.26.9; from 1.27.0-0, fixed in 1.27.2

## 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.

## References

- https://go.dev/cl/847307
- https://go.dev/issue/81741
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI

Page: https://cve.now/GO-2026-6608

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
