CVE-2026-40992
Received
Received - Intake
Mail SMTP SSL Hostname Verification Bypass in Spring Boot
Publication date: 2026-06-11
Last updated on: 2026-06-11
Assigner: VMware
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vmware | spring_boot | From 3.4.0 (inc) to 3.4.16 (inc) |
| vmware | spring_boot | From 3.5.0 (inc) to 3.5.14 (inc) |
| vmware | spring_boot | From 4.0.0 (inc) to 4.0.6 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-295 | The product does not validate, or incorrectly validates, a certificate. |