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::extract_inline_images() used the media type taken from an inline image data URI without validating it, so a remote authenticated attacker could inject arbitrary MIME part headers into the outgoing message by placing CRLF sequences in that media type. Upstream fixed this in the commit “Fix mail header injection via media type in an inline image data URI”, which validates the media type with rcube_mime::is_mimetype_valid().
Severity (CVSS)
| Base score | 8.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N |
| Provided by | CNA |
Weaknesses
- CWE-99 — CWE-99 Improper Control of Resource Identifiers ('Resource Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Roundcube | Webmail | 1.6.0 to <1.6.20 [affected]; 1.7.0 to <1.7.5 [affected] |
References
- https://bugs.debian.org/1151279 (issue-tracking third-party-advisory)
- https://github.com/roundcube/roundcubemail/commit/7f3cc9cacb16cb3ab047fe8e3cba81db2023cdfc (patch)
- https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5 (vendor-advisory release-notes)
- https://github.com/roundcube/roundcubemail/releases/tag/1.7.5 (release-notes patch)
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.20 (release-notes patch)
- https://github.com/roundcube/roundcubemail/commit/adb9b9b3fd43e30af1c166b79494726d89f828eb (patch)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 22 Oct 2026 07:04 UTC.