CVE-2026-63435Mail: Email address spoofing via malformed RFC 2047 encoded-words
Mail is an internet library for Ruby designed to handle email generation, parsing, and sending. Prior to 2.9.1, Mail::Utilities.q_value_decode and Mail::Utilities.b_value_decode used a single String#match and an overly greedy charset capture to decode only the first RFC 2047 encoded-word and mishandle surrounding or subsequent text. A crafted malformed encoded-word in an address display name or local part could cross ? delimiters and make decoded From, To, or Reply-To header values differ from the raw values inspected by a human reviewer or downstream parser, enabling apparent sender or recipient spoofing, phishing, or authorization-check bypass. This issue is fixed in version 2.9.1.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jruby | Fix pending | UBUNTU-CVE-2026-63435 | |
| Ubuntu 26.10 | ruby3.3 | Fix pending | UBUNTU-CVE-2026-63435 | |
| Ubuntu 26.04 | jruby | Under investigation | UBUNTU-CVE-2026-63435 | |
| Ubuntu 26.04 | ruby3.3 | Under investigation | UBUNTU-CVE-2026-63435 | |
| Ubuntu 24.04 | jruby | Under investigation | UBUNTU-CVE-2026-63435 | |
| Ubuntu 24.04 | ruby3.2 | Under investigation | UBUNTU-CVE-2026-63435 | |
| Ubuntu 22.04 | ruby3.0 | Under investigation | UBUNTU-CVE-2026-63435 | |
| Ubuntu 20.04 | jruby | Fix pending | UBUNTU-CVE-2026-63435 | |
| Ubuntu 20.04 | ruby2.7 | Fix pending | UBUNTU-CVE-2026-63435 | |
| Ubuntu 18.04 | jruby | Fix pending | UBUNTU-CVE-2026-63435 | |
| Ubuntu 18.04 | ruby2.5 | Fix pending | UBUNTU-CVE-2026-63435 | |
| Ubuntu 16.04 | jruby | Fix pending | UBUNTU-CVE-2026-63435 | |
| Ubuntu 16.04 | ruby2.3 | Fix pending | UBUNTU-CVE-2026-63435 | |
| Ubuntu 14.04 | jruby | Fix pending | UBUNTU-CVE-2026-63435 | |
| Debian 14 | ruby-mail | Fixed | 2.9.1-1 | DEBIAN-CVE-2026-63435 |
| Debian 13 | ruby-mail | Fix pending | DEBIAN-CVE-2026-63435 | |
| Debian 12 | ruby-mail | Fix pending | DEBIAN-CVE-2026-63435 | |
| RubyGems library | mail | Fixed | 2.9.1 | GHSA-mvxr-6m87-mv2q |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mikel mail: affected: < 2.9.1
References
- https://github.com/mikel/mail/security/advisories/GHSA-mvxr-6m87-mv2q
- https://github.com/mikel/mail/pull/1664
- https://github.com/mikel/mail/commit/f9d59c2e447af42e2c3dec5a56b1bb25c7292859
- https://github.com/mikel/mail/releases/tag/2.9.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.