CVE-2026-42499
CVE
Medium
False Positivenet/mail: Quadratic String Concatenation in consumePhrase
This advisory does not affect KrakenD
KrakenD is an API gateway and does not parse email messages or
net/mail
formatted headers at runtime. The net/mail package is a transitive dependency
but its parsing functions are never invoked during KrakenD operation.Addressed through routine dependency maintenance in CE 2.13.5 and EE 2.13.3.
Component
Go standard library (net/mail)
Disclosed
May 11, 2026
Description
Go’s
net/mail package performs quadratic string concatenation inside the
consumePhrase function when parsing certain mail header values. A crafted
email header phrase can cause the parser to consume an excessive amount of CPU
and memory, leading to denial of service.