Description
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a mail header injection vulnerability. rcmail_sendmail stripped newline characters only from the Subject and Organization headers, leaving other header values taken from request parameters unsanitized, so a remote authenticated attacker could inject arbitrary headers into an outgoing message via the References, In-Reply-To, Message-ID and From parameters. Upstream fixed this in the commit “Fix mail header injection via References/In-Reply-To/Message-ID/From parameters”, which normalizes whitespace in every string header value.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Roundcube Webmail
Default version status: unaffected
1.6.0 to < 1.6.20affected1.7.0 to < 1.7.5affected
References
- https://bugs.debian.org/1151279 ↗
- https://github.com/roundcube/roundcubemail/commit/acd32a86f631dd6dcda8ac3ec7bd9ba4d4c0c117 ↗
- https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5 ↗
- https://github.com/roundcube/roundcubemail/releases/tag/1.7.5 ↗
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.20 ↗
- https://github.com/roundcube/roundcubemail/commit/79adcfc0c48012bbbe930278471425027fd7331c ↗