CVE-2026-94440

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

State
Published
Severity
7.5 High
Published
Oct 8, 2026
Updated
Oct 9, 2026
Reserved
Sep 21, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
net/textprotoGo standard library
  • before 1.26.9Affected
  • 1.27.0-0 to before 1.27.2Affected
mime/multipartGo standard library
  • before 1.26.9Affected
  • 1.27.0-0 to before 1.27.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.