CVE-2026-94440 (GCVE-0-2026-94440)

Vulnerability from cvelistv5 – Published: 2026-10-08 22:53 – Updated: 2026-10-08 22:53
VLAI
Title
Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart
Summary
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.
Severity
No CVSS data available.
CWE
  • CWE-770 - Allocation of Resources Without Limits or Throttling
Assigner
Go CNA under the Google root
CNA scorecard E 42/100 over 75 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Go standard library net/textproto Affected: 0 , < 1.26.9 (semver)
Affected: 1.27.0-0 , < 1.27.2 (semver)
guessed Create a notification for this product.
Go standard library mime/multipart Affected: 0 , < 1.26.9 (semver)
Affected: 1.27.0-0 , < 1.27.2 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "net/textproto",
          "product": "net/textproto",
          "programRoutines": [
            {
              "name": "readMIMEHeader"
            },
            {
              "name": "Reader.readContinuedLineSlice"
            },
            {
              "name": "Reader.ReadContinuedLine"
            },
            {
              "name": "Reader.ReadContinuedLineBytes"
            },
            {
              "name": "Reader.ReadMIMEHeader"
            }
          ],
          "vendor": "Go standard library",
          "versions": [
            {
              "lessThan": "1.26.9",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "1.27.2",
              "status": "affected",
              "version": "1.27.0-0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "mime/multipart",
          "product": "mime/multipart",
          "programRoutines": [
            {
              "name": "Part.populateHeaders"
            },
            {
              "name": "Reader.readForm"
            },
            {
              "name": "Reader.NextPart"
            },
            {
              "name": "Reader.NextRawPart"
            },
            {
              "name": "Reader.ReadForm"
            }
          ],
          "vendor": "Go standard library",
          "versions": [
            {
              "lessThan": "1.26.9",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "1.27.2",
              "status": "affected",
              "version": "1.27.0-0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Jakub Ciolek (https://ciolek.dev)"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE-770: Allocation of Resources Without Limits or Throttling",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-08T22:53:58.959Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://go.dev/cl/847307"
        },
        {
          "url": "https://go.dev/issue/81741"
        },
        {
          "url": "https://groups.google.com/g/golang-announce/c/U2fTuyDJznI"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2026-6608"
        }
      ],
      "title": "Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2026-94440",
    "datePublished": "2026-10-08T22:53:58.959Z",
    "dateReserved": "2026-09-21T16:43:04.757Z",
    "dateUpdated": "2026-10-08T22:53:58.959Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://pkg.go.dev",
                "defaultStatus": "unaffected",
                "packageName": "net/textproto",
                "product": "net/textproto",
                "programRoutines": [
                  {
                    "name": "readMIMEHeader"
                  },
                  {
                    "name": "Reader.readContinuedLineSlice"
                  },
                  {
                    "name": "Reader.ReadContinuedLine"
                  },
                  {
                    "name": "Reader.ReadContinuedLineBytes"
                  },
                  {
                    "name": "Reader.ReadMIMEHeader"
                  }
                ],
                "vendor": "Go standard library",
                "versions": [
                  {
                    "lessThan": "1.26.9",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "1.27.2",
                    "status": "affected",
                    "version": "1.27.0-0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://pkg.go.dev",
                "defaultStatus": "unaffected",
                "packageName": "mime/multipart",
                "product": "mime/multipart",
                "programRoutines": [
                  {
                    "name": "Part.populateHeaders"
                  },
                  {
                    "name": "Reader.readForm"
                  },
                  {
                    "name": "Reader.NextPart"
                  },
                  {
                    "name": "Reader.NextRawPart"
                  },
                  {
                    "name": "Reader.ReadForm"
                  }
                ],
                "vendor": "Go standard library",
                "versions": [
                  {
                    "lessThan": "1.26.9",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "1.27.2",
                    "status": "affected",
                    "version": "1.27.0-0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "security@golang.org"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          }
        ],
        "id": "CVE-2026-94440",
        "lastModified": "2026-10-08T23:17:04.917",
        "metrics": {},
        "published": "2026-10-08T23:17:04.917",
        "references": [
          {
            "source": "security@golang.org",
            "url": "https://go.dev/cl/847307"
          },
          {
            "source": "security@golang.org",
            "url": "https://go.dev/issue/81741"
          },
          {
            "source": "security@golang.org",
            "url": "https://groups.google.com/g/golang-announce/c/U2fTuyDJznI"
          },
          {
            "source": "security@golang.org",
            "url": "https://pkg.go.dev/vuln/GO-2026-6608"
          }
        ],
        "sourceIdentifier": "security@golang.org",
        "vulnStatus": "Received"
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…