Skip to content

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

MediumCVSS 5.0 EPSS 0.12%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
org.springframework.boot/spring-boot-starter-mail(Maven) >= 4.0.0, < 4.0.7 4.0.7
org.springframework.boot/spring-boot-starter-mail(Maven) = 4.0.0 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 4.0.1 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 4.0.2 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 4.0.3 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 4.0.4 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 4.0.5 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 4.0.6 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) >= 3.5.0, < 3.5.15 3.5.15
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.0 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.1 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.10 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.11 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.12 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.13 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.14 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.2 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.3 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.4 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.5 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.6 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.7 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.8 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.5.9 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) >= 3.4.0, <= 3.4.16 No fix listed
Show 22 more
ProductAffected versionsFixed in
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.0 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.1 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.10 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.11 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.12 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.13 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.2 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.3 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.4 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.5 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.6 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.7 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.8 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) = 3.4.9 No fix listed
Spring Boot >= 4.0.0, < 4.0.6.1 4.0.6.1
Spring Boot >= 3.5.0, < 3.5.14.1 3.5.14.1
Spring Boot >= 3.4.0, < 3.4.17 3.4.17
org.springframework.boot/spring-boot-starter-mail(Maven) >= 4.0.0, <= 4.0.6 No fix listed
org.springframework.boot/spring-boot-starter-mail(Maven) >= 3.5.0, <= 3.5.14 No fix listed
VMware spring boot >= 3.4.0, < 3.4.17 3.4.17
VMware spring boot >= 3.5.0, < 3.5.14.1 3.5.14.1
VMware spring boot >= 4.0.0, < 4.0.6.1 4.0.6.1

References