CVE-2026-40992CWE-295

CVE-2026-40992

Medium · published June 11, 2026

CVSS v3.1
5.0
EPSS
0%
Percentile
7.7
In the wild
Unconfirmed
What it is

Spring Boot's Mail auto-configuration does not enable hostname verification. Applications that set the relevant JavaMail property, such as spring.mail.properties.mail.smtp.ssl.checkserveridentity=true, are not affected.

Affected versions:

Spring Boot 4.0.0 through 4.0.6; 3.5.0 through 3.5.14; 3.4.0 through 3.4.16.

The record
Technical detail
CVSS v3.1
5.0 · MEDIUM
Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00185 · 7.7th percentile
Weakness
CWE-295 · Improper Certificate Validation
Published
2026-06-11T11:16Z
Affected products (3)
ProductVersionsFixed in
vmware/spring_boot≥ 3.4.0, < 3.4.173.4.17
vmware/spring_boot≥ 3.5.0, < 3.5.14.13.5.14.1
vmware/spring_boot≥ 4.0.0, < 4.0.6.14.0.6.1
References (1)
EPSS history
Timeline
  • 11 JUN 05:03Z
    Mail Auto-Configuration Does Not Enable SSL Hostname Verification
    cvelistv5