Red Hat VEX
RHVEX-CVE-2026-42499
net/mail: golang: net/mail: Denial of Service via pathological email address parsing
Details
A flaw was found in the net/mail package within the Go standard library. A remote attacker could provide specially crafted, pathological email addresses. When these malformed email addresses are parsed by the consumePhrase function, it can lead to excessive resource consumption due to quadratic string concatenation, resulting in a Denial of Service (DoS) condition.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:9 | gvisor-tap-vsock | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | gvisor-tap-vsock-gvforwarder | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | ignition | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | ignition-edge | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | ignition-grub | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | ignition-validate | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-42499
- https://bugzilla.redhat.com/show_bug.cgi?id=2467809
- https://www.cve.org/CVERecord?id=CVE-2026-42499
- https://nvd.nist.gov/vuln/detail/CVE-2026-42499
- https://go.dev/cl/771520
- https://go.dev/issue/78987
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M
- https://pkg.go.dev/vuln/GO-2026-4977