Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilitywidely-deployed-product-advisoryendpoint-software-vulnerability

Go Security Updates Fix DoS Flaws in MIME Parsing and X.509 Verification

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Jun 2, 2026

Go Security Updates Fix DoS Flaws in MIME Parsing and X.509 Verification

The Go project released Go 1.26.4 and Go 1.25.11 with three security fixes, including two denial-of-service issues that could be triggered by crafted input. One flaw, tracked as CVE-2026-42504, affects mime.WordDecoder.DecodeHeader, where malicious MIME headers containing many invalid encoded words can drive quadratic or near-quadratic parsing behavior and cause excessive CPU consumption. Public issue details describe an attack pattern using repeated malformed encoded-word prefixes that force repeated parsing work before a terminating ?= sequence.

The same releases also fix CVE-2026-27145, a quadratic-performance problem in crypto/x509 hostname verification when certificates contain large DNS SAN lists, and CVE-2026-42507, where net/textproto functions could return unescaped attacker-controlled input in error messages, creating a risk of misleading log entries or terminal control-sequence injection. The Go team credited p4p3r and Jakub Ciolek for reporting two of the issues and directed users to upgrade to the patched versions.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · May 5, 2026 – Jun 2, 2026
  1. Jun 2, 20266mo ago

    Go releases 1.26.4 and 1.25.11 with three security fixes

    The Go team released Go 1.26.4 and Go 1.25.11 as minor point releases containing three security fixes. The fixes addressed CVE-2026-42504 in mime, CVE-2026-42507 in net/textproto, and CVE-2026-27145 in crypto/x509.

    oss-sec: Fwd: Go 1.26.4 and Go 1.25.11 are released
  2. May 5, 20267mo ago

    Go security issue for mime.WordDecoder.DecodeHeader opened publicly

    A public Go security issue tracking quadratic or near-quadratic complexity in mime.WordDecoder.DecodeHeader was opened, documenting that malicious MIME header input could trigger excessive parsing work. The issue credits p4p3r for reporting it and assigns CVE-2026-42504.

    mime: quadratic complexity in WordDecoder.DecodeHeader · Issue #79217 · golang/go
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.