CVE-2026-94440

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

Published Oct 8, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Parsing a multipart form in Go’s standard library can bypass the configured memory limit and allow an attacker to read an arbitrarily long line into memory when the remaining limit at the start of a part is less than 400 bytes. This flaw can lead to excessive memory consumption and potentially crash the application, resulting in a denial‑of‑service condition for the service or system using the library.

Affected Systems

The vulnerability affects the Go standard library packages net/textproto and mime/multipart, impacting all Go applications that rely on the default multipart parsing routines and that have not been updated to a version where the fix has been applied. No specific version range is listed, so any Go installation preceding the patch is potentially vulnerable.

Risk and Exploitability

Based on the description, the likely attack vector is an external attacker sending a multipart HTTP request with a very long header line; no authentication or privileged access is required. An exploit would cause the application to allocate memory beyond its intended limit. The CVSS score of 7.5 indicates a medium‑to‑high severity. The EPSS score of < 1% suggests a low likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest Go runtime release that contains the patch for this memory limit bypass flaw.
  • Implement application‑level checks that reject HTTP requests with content lengths exceeding a safe threshold before invoking the Go standard library’s multipart parser.
  • Where possible, adjust application logic to enforce stricter limits on multipart form data, for example by configuring a minimum allowed part boundary or by parsing incoming data in smaller chunks.

Generated by OpenCVE AI on October 9, 2026 at 20:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8935-1 Go vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-789
Type Values Removed Values Added
Weaknesses CWE-770
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Go Standard Library
Go Standard Library mime/multipart
Go Standard Library net/textproto
Vendors & Products Go Standard Library
Go Standard Library mime/multipart
Go Standard Library net/textproto
Type Values Removed Values Added
Weaknesses CWE-789
Type Values Removed Values Added
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.
Title Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Oct 9, 2026, 4:09 PM
Reserved
Sep 21, 2026, 4:43 PM
Status
Awaiting Analysis
Published
Oct 8, 2026, 11:17 PM
Modified
Oct 9, 2026, 5:16 PM