Go standard library net/textproto
Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-770
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Go standard library net/textproto
- < 1.26.9
- >= 1.27.0-0, < 1.27.2
Fixed in 1.26.9, 1.27.2
Go standard library mime/multipart
- < 1.26.9
- >= 1.27.0-0, < 1.27.2
Fixed in 1.26.9, 1.27.2
Mitigation
Upgrade net/textproto to 1.26.9 or 1.27.2 or later.
Upgrade mime/multipart to 1.26.9 or 1.27.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.