# CVE-2026-40992: Mail Auto-Configuration Does Not Enable SSL Hostname Verification

- Priority: **Routine**
- Reason: Not severe (CVSS 5, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-11 · Modified: 2026-06-23
- Aliases: GHSA-9wxp-w4px-32vh
- Record: https://cvemate.com/vulnerability/CVE-2026-40992 · JSON: https://cvemate.com/vulnerability/CVE-2026-40992/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v3.1, CVE.org) CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.124%, percentile 2.257%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.boot spring-boot-starter-mail (Maven): ≥ 4.0.0, \< 4.0.7 \| ≥ 3.5.0, \< 3.5.15 \| ≥ 3.4.0, ≤ 3.4.16
- spring spring boot: ≥ 4.0.0, \< 4.0.6.1 \| ≥ 3.5.0, \< 3.5.14.1 \| ≥ 3.4.0, \< 3.4.17
- vmware spring\_boot: ≥ 3.4.0, \< 3.4.17 \| ≥ 3.5.0, \< 3.5.14.1 \| ≥ 4.0.0, \< 4.0.6.1

## References

- <https://spring.io/security/cve-2026-40992>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40992>
- <https://github.com/spring-projects/spring-boot>

---

Data as of 2026-12-05T04:19:02.426Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
