Security mailing lists by PureSourceCode

CVE-2026-102471

MEDIUM 6.9CVSS 4.0

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.

Published
14 Oct 2026
Last modified
20 Oct 2026
Assigned by
emo@eclipse.org
NVD status
Analyzed
Weakness
CWE-93
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD emo@eclipse.org (Secondary) CVSS 4.0 MEDIUM 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD eclipse vert.x
cpe:2.3:a:eclipse:vert.x:*:*:*:*:*:*:*:*
>= 4.5.0, < 4.5.35 4.5.35
NVD eclipse vert.x
cpe:2.3:a:eclipse:vert.x:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.1.10 5.1.10
NVD eclipse vert.x
cpe:2.3:a:eclipse:vert.x:5.2.0:*:*:*:*:*:*:*
= 5.2.0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 14 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.