In Eclipse Vert.x versions [4.0.0, 4.5.34] or [5.0.0,5.0.12] or [5.1.0,5.1.9] or [5.2.0, 5.2.0], the vertx-mail-client does not sanitize CR (\r) or LF (\n) characters in user-supplied email header na…
- CVSS
- 5.9Medium
- Chance of exploitation (EPSS)
- 0.31%
- Published
- Oct 14, 2026
- In the news
- Not yet
What to do
A moderate security flaw in Eclipse Vert.x and Eclipse Foundation Eclipse Vert.x that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Eclipse Foundation Eclipse Vert.x
- 4.0.0 to through 4.5.34; 5.0.0 to through 5.0.12; 5.1.0 to through 5.1.9; 5.2.0
Description
In Eclipse Vert.x versions [4.0.0, 4.5.34] or [5.0.0,5.0.12] or [5.1.0,5.1.9] or [5.2.0, 5.2.0], the vertx-mail-client does not sanitize CR (\r) or LF (\n) characters in user-supplied email header names and values before writing them into the SMTP DATA section. A CR/LF sequence embedded in a name or value passed to MailMessage.addHeader(), MailMessage.setHeaders(), MailAttachment.addHeader(), or MailAttachment.setHeaders() is written verbatim to the wire, allowing an attacker to inject arbitrary headers (e.g. Bcc, Reply-To, Content-Type) or prepend body content to the outgoing message.
The same weakness affects MIME part metadata set via MailAttachment.setContentType(), setDisposition(), setDescription(), and setContentId(), which are written directly into MIME part headers without validation.
A secondary weakness in Utils.mustEncode(char) additionally allows a bare LF in a From display-name to bypass Q-encoding and reach the wire unchanged.
An unauthenticated attacker who can control any header name, header value, or attachment metadata field passed to the mail client (for example via a web form or API that feeds into MailMessage) can exploit this to redirect email copies, spoof headers, or tamper with message structure.
The impacted component is io.vertx:vertx-mail-client.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-102471 published (CVSS 5.9) (Oct 14, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Oct 14, 2026
- CVECVE-2026-102471 published (CVSS 5.9)CVE Program · 19:17 UTC
References 2
- github.com Vendor Advisory /vert-x3/vertx-mail-client/security/advisories/GHSA-rm5c-2c7f-gc5g
- gitlab.eclipse.org /security/cve-assignment/-/work_items/348