Skip to content
CVE PROGRAM SOURCE RECORD5.0 Medium

CVE-2026-40992

Mail Auto-Configuration Does Not Enable SSL Hostname Verification

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Spring Spring Boot

Default version status: unaffected

  • 4.0.0 to < 4.0.6.1affected
  • 3.5.0 to < 3.5.14.1affected
  • 3.4.0 to < 3.4.17affected

References