CVE-2026-40992
published medium CVSS 3.1 · 5.0Mail Auto-Configuration Does Not Enable SSL Hostname Verification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Boot4.0.0 to < 4.0.6.1 · 3.5.0 to < 3.5.14.1 · 3.4.0 to < 3.4.17 · Other versions: unaffected | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Boot | 4.0.0 to < 4.0.6.1 (affected · custom)3.5.0 to < 3.5.14.1 (affected · custom)3.4.0 to < 3.4.17 (affected · custom)Default: unaffected | vmware · cna |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
1Provider assertions
2vmware · cna
Mail Auto-Configuration Does Not Enable SSL Hostname Verification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fae54369afb74bd8aea9c81e6bc5ef0b729941173706090007d5db76123d8305
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record