CVE-2026-42504
CVE
High
· CVSS 7.5
Low Impactmime: Denial of Service via Quadratic Complexity in MIME Header Decoding
Limited exploitability
Exploiting this vulnerability requires an uncommon setup or configuration. Upgrading is still recommended when possible.
Component
Go standard library (mime)
Disclosed
Jun 3, 2026
CVSS Score
7.5
Description
mime package WordDecoder.DecodeHeader function processes RFC 2047-encoded words
in MIME headers. Decoding a maliciously-crafted MIME header containing many invalid
encoded-words could consume excessive CPU, leading to denial of service. The MIME decoder
was updated to better handle this case.
KrakenD can receive such crafted headers from clients sending multipart requests or
via backend HTTP responses, making this potentially exploitable in proxied deployments.Version summary
Community Edition
2.13.7
addresses this advisory
Affected CE versions
>= 2.0, < 2.13.7
Enterprise Edition
2.13.5
addresses this advisory
Affected EE versions
>= 2.0, < 2.13.5
Upgrade to the addressed version or later to remediate this vulnerability.