openEuler Security Advisory
OESA-2026-4104
rubygem-mail security update
Details
A really Ruby Mail handler.
Security Fix(es):
Affected versions of this package are vulnerable to Improper Validation of Syntactic Correctness of Input through q_value_decode and b_value_decode in lib/mail/utilities.rb. An attacker can make a display name or local part decode to a different address than intended by supplying a malformed RFC 2047 encoded-word, including one that embeds extra encoded-word markers or additional text. The decoders only matched the first encoded-word and used a greedy charset capture, so a crafted header could cause the parsed From, To, or Reply-To value to omit or reshuffle literal text. Applications that display, compare, or authorize based on the decoded address can then present or act on a spoofed sender or recipient address.(CVE-2026-63435)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:24.03-LTS-SP1 | rubygem-mail | All versions before 2.8.1-2.oe2403sp1 (fixed in 2.8.1-2.oe2403sp1) |