CVE-2026-40992
Mail Auto-Configuration Does Not Enable SSL Hostname Verification
MEDIUM 5.0
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- vmware
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-295 — Improper Certificate Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | vmware |
| CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | NVD · security@vmware.com (Secondary) |
Advisories
- GHSA-9wxp-w4px-32vh — Spring Boot's Mail Auto-Configuration Does Not Enable SSL Hostname Verification
European references
- ENISA EUVD · EUVD-2026-36203
- GCVE · GCVE-0-2026-40992
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1336 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0739 — Multiples vulnérabilités dans les produits Spring · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*≥ 3.4.0 < 3.4.17cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*≥ 3.5.0 < 3.5.14.1cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*≥ 4.0.0 < 4.0.6.1
Affected products
| Product | Versions |
|---|---|
| Spring · Spring Boot | affected 4.0.0 < 4.0.6.1 ; affected 3.5.0 < 3.5.14.1 ; affected 3.4.0 < 3.4.17 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |