Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42504: CWE-407: Inefficient Algorithmic Complexity in Go standard library mime

0
Medium
VulnerabilityCVE-2026-42504gcvecve-2026-42504cwe-407
Published: Tue Jun 02 2026 (06/02/2026, 22:01:37 UTC)
Source: GCVE Database
Vendor/Project: Go standard library
Product: mime

Description

CVE-2026-42504 is a vulnerability in the Go standard library's mime package where decoding a maliciously crafted MIME header containing many invalid encoded-words can cause excessive CPU consumption. This is due to inefficient algorithmic complexity (CWE-407). No CVSS score or official patch information is currently available. There are no known exploits in the wild at this time.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 01:48:43 UTC

Technical Analysis

This vulnerability involves the Go standard library mime package, specifically in the decoding process of MIME headers. When presented with a maliciously crafted MIME header containing numerous invalid encoded-words, the decoding function may consume excessive CPU resources due to inefficient algorithmic complexity. This can lead to performance degradation or denial of service conditions in applications using the affected versions of the mime package (up to version 1.26.0-0). No official remediation or patch has been documented yet.

Potential Impact

The impact is primarily a potential denial of service through resource exhaustion (high CPU usage) when processing specially crafted MIME headers. This could affect applications relying on the Go mime package for email or MIME parsing, causing them to become unresponsive or degrade performance. There is no indication of code execution or data corruption from the provided information.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider implementing input validation or rate limiting on MIME header processing to mitigate potential resource exhaustion. Monitor for vendor updates regarding patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-04-28T00:21:12.792Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null
Gcve Source
db.gcve.eu

Threat ID: 6a1f872ae29bf47b5044bf13

Added to database: 6/3/2026, 1:45:14 AM

Last enriched: 6/3/2026, 1:48:43 AM

Last updated: 6/3/2026, 3:18:35 AM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses