Allocation of Resources Without Limits or Throttling Affecting std/mime package, versions <1.25.11>=1.26.0-0 <1.26.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.56% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-STDMIME-17135844
  • published3 Jun 2026
  • disclosed2 Jun 2026
  • creditp4p3r

Introduced: 2 Jun 2026

CVE-2026-42504  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade std/mime to version 1.25.11, 1.26.4 or higher.

Overview

std/mime is a Go standard library package std/mime

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling.

Go Vulnerability Report:

Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.

CVSS Base Scores

version 4.0
version 3.1